{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 获取学校官网“校园动态”页面"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 导入模块\n",
    "from requests_html import HTMLSession\n",
    "import requests_html\n",
    "import pandas as pd\n",
    "import urllib.parse"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 请求网站，转换为HTML文件并存储"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 定义名称，请求网站\n",
    "session = HTMLSession()\n",
    "r = session.get(\"https://www.nfu.edu.cn/xydt/index.htm\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'<!DOCTYPE html>\\n<html><head><meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\\n\\t<meta name=\"renderer\" content=\"webkit\">\\n\\t<meta http-equiv=\"x-ua-compatible\" content=\"IE=edge\">\\n\\n\\t<title>校园动态 - 广州南方学院</title>\\n\\t<meta name=\"keywords\" content=\"\">\\n\\t<meta name=\"description\" content=\"\">\\n\\t\\n\\t<link rel=\"stylesheet\" type=\"text/css\" href=\"../css/swiper-3.3.1.min.css\">\\n\\t<link href=\"../css/lin.css\" rel=\"stylesheet\" type=\"text/css\">\\n\\n\\t<script src=\"../js/jquery-1.11.3.min.js\"></script>\\n\\t<script src=\"../js/jquery-1.11.1.js\"></script>\\n\\t<script src=\"../js/jquery.easie-min.js\" type=\"text/javascript\"></script>\\n\\t<script src=\"../js/swiper.min.js\" type=\"text/javascript\"></script>\\n\\t<script src=\"../js/lin.js\"></script>\\n\\t\\n\\t\\n\\t<link href=\"../css/page.css\" rel=\"stylesheet\" type=\"text/css\">\\n\\t<link href=\"http://www.nfu.edu.cn/Public/favicon.ico\" rel=\"Shortcut Icon\">\\n\\t<link href=\"http://www.nfu.edu.cn/Public/favicon.ico\" rel=\"Bookmark\">\\n\\n<script type=\"text/javascript\"> \\n\\tvar browser={\\n\\t    versions:function(){\\n\\t        var u = navigator.userAgent, app = navigator.appVersion;\\n\\t        return {//移动终端浏览器版本信息\\n\\t            trident: u.indexOf(\\'Trident\\') > -1, //IE内核\\n\\t            presto: u.indexOf(\\'Presto\\') > -1, //opera内核\\n\\t            webKit: u.indexOf(\\'AppleWebKit\\') > -1, //苹果、谷歌内核\\n\\t            gecko: u.indexOf(\\'Gecko\\') > -1 && u.indexOf(\\'KHTML\\') == -1, //火狐内核\\n\\t            mobile: !!u.match(/AppleWebKit.*Mobile.*/)||u.indexOf(\\'iPad\\') > -1, //是否为移动终端\\n\\t            ios: !!u.match(/\\\\(i[^;]+;( U;)? CPU.+Mac OS X/), //ios终端\\n\\t            android: u.indexOf(\\'Android\\') > -1 || u.indexOf(\\'Linux\\') > -1, //android终端或者uc浏览器\\n\\t            iPhone: u.indexOf(\\'iPhone\\') > -1, //是否为iPhone或者QQHD浏览器\\n\\t            iPad: u.indexOf(\\'iPad\\') > -1, //是否iPad\\n\\t            webApp: u.indexOf(\\'Safari\\') == -1 //是否web应该程序，没有头部与底部\\n\\t        };\\n\\t    }(),\\n\\t}\\n\\tif(browser.versions.android || browser.versions.iPhone){\\n\\t\\tvar url = document.location.href ;\\n\\t\\tvar ext = url.substr(url.lastIndexOf(\".\"),url.length) ;\\n\\t\\tif(ext != null && (ext == \\'.htm\\' || ext == \\'.html\\')){\\n\\t\\t\\turl = url.substr(0,url.lastIndexOf(\".\")) ;\\n\\t\\t\\turl = url + \"_mobile\" + ext ;\\n\\t\\t}else{\\n\\t\\t\\turl = url + \"index_mobile.htm\" ;\\n\\t\\t}\\n\\t\\tdocument.location = url ;\\n\\t}\\n</script>\\n </head>\\n<body>\\n<!--头部-->\\n\\t\\n<div class=\"lin-header \">\\n\\t\\t<div class=\"lin-head clearfix\">\\n\\t\\t\\t<h1 class=\"lin-topl\">\\n\\t\\t\\t\\t<a href=\"../index.htm\" target=\"_blank\" title=\"广州南方学院\">\\n\\t\\t\\t\\t\\t<img src=\"../images/logo.png\">\\n\\t\\t\\t\\t</a>\\n\\t\\t\\t</h1>\\n\\t\\t\\t<div class=\"lin-topr\">\\n\\t\\t\\t\\t<div class=\"lin-youxiang\">\\n\\t\\t\\t\\t\\t<!--<a href=\"http://oa.nfu.edu.cn/\" target=\"_blank\">办公系统</a>-->\\n\\t\\t\\t\\t\\t<a href=\"http://en.nfu.edu.cn/\">English Version</a>\\n\\t\\t\\t\\t\\t\\t<!-- <a href=\"https://mail.nfu.edu.cn/\" target=\"_blank\">邮箱登录</a>\\n\\t\\t\\t\\t\\t\\t\\t<a href=\"mailto:nfcsysuyz@126.com\" target=\"_blank\" title=\"nfcsysuyz@126.com\" >院长信箱</a> -->\\n\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t<div class=\"lin-ser lin-serhide\">\\n\\t\\t\\t\\t\\t<div class=\"serbox\">\\n\\t\\t\\t\\t\\t\\t<form action=\"/cms/web/search/index.jsp\" method=\"get\" id=\"search_form\">\\n\\t\\t\\t\\t\\t\\t\\t<input name=\"siteID\" value=\"bbef6bf928be491d9180b44993df0ac9\" type =\"hidden\"> \\n\\t\\t\\t\\t\\t\\t\\t<input type=\"text\" name=\"query\" id=\"keyword\" placeholder=\"搜索\">\\n\\t\\t\\t\\t\\t\\t\\t<a href=\"javascript:;\" id=\"search_btn\">\\n\\t\\t\\t\\t\\t\\t\\t</a>\\n\\t\\t\\t\\t\\t\\t</form>\\t\\n\\t\\t\\t\\t\\t\\t<script type=\"text/javascript\">\\n\\t\\t\\t\\t\\t\\t\\t$(\"#search_btn\").click(function(){\\n\\t\\t\\t\\t\\t\\t\\t\\tvar keyword=$(\"#keyword\").val();\\n\\t\\t\\t\\t\\t\\t\\t\\tif(keyword==\\'\\'){\\n\\t\\t\\t\\t\\t\\t\\t\\t\\talert(\\'* 请输入搜索关键词 !\\');\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t$(\"#keyword\").focus();\\n\\t\\t\\t\\t\\t\\t\\t\\t\\treturn false;\\n\\t\\t\\t\\t\\t\\t\\t\\t}else{\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t$(\"#search_form\").submit();\\n\\t\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t\\t})\\n\\t\\t\\t\\t\\t\\t</script>\\n\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t</div>\\n\\t\\t\\t</div>\\n\\t\\t</div>\\n\\t</div>\\n\\t\\t\\t<!-- end 头部-->\\n\\t\\t\\t<!--导航条-->\\n\\t\\t\\t<div class=\"lin-navbar\">\\n\\t\\t\\t\\t<p class=\"navnav\">\\n\\t\\t\\t\\t\\t<span>\\n\\t\\t\\t\\t\\t</span>\\n\\t\\t\\t\\t\\t<span>\\n\\t\\t\\t\\t\\t</span>\\n\\t\\t\\t\\t\\t<span>\\n\\t\\t\\t\\t\\t</span>\\n\\t\\t\\t\\t</p>\\n\\t\\t\\t\\t<ul class=\"lin-nav clearfix\">\\n\\t\\t\\t\\t\\t<li class=\"lin-navli\"><a href=\"../index.htm\">首页</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li class=\"lin-navli\">\\n\\t\\t\\t\\t\\t\\t<a href=\"../xxgk/index.htm\" target=\"_blank\">学校概况</a>\\n\\t\\t\\t\\t\\t\\t<div class=\"lin-navdiv\">\\n\\t\\t\\t\\t\\t\\t\\t<div class=\"sonnav-bg\">\\n\\t\\t\\t\\t\\t\\t\\t\\t<ul class=\"nav-conul clearfix\" style=\"padding-left: 99px;\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li><a href=\"../xxgk/xxjj/index.htm\" target=\"_self\">学校简介</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li><a href=\"../xxgk/xrld/index.htm\" target=\"_self\">现任领导</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li><a href=\"../xxgk/xhxxxg/index.htm\" target=\"_self\">校徽  校训  校歌</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li><a href=\"../xxgk/nfdsj/index.htm\" target=\"_self\">南方大事记</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li><a href=\"../xxgk/xxxl/index.htm\" target=\"_self\">学校校历</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</ul>\\n\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li class=\"lin-navli\">\\n\\t\\t\\t\\t\\t\\t\\t<a href=\"http://cpc.nfu.edu.cn/\" target=\"_self\">党建之窗</a>\\n\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li class=\"lin-navli\">\\n\\t\\t\\t\\t\\t\\t<a href=\"../jgsz/index.htm\" target=\"_blank\">机构设置</a>\\n\\t\\t\\t\\t\\t\\t<div class=\"lin-navdiv\">\\n\\t\\t\\t\\t\\t\\t\\t<div class=\"sonnav-bg\">\\n\\t\\t\\t\\t\\t\\t\\t\\t<ul class=\"nav-conul clearfix\" style=\"padding-left: 99px;\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li><a href=\"../jgsz/yxsz/index.htm\" target=\"_self\">院系设置</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li><a href=\"../jgsz/gljg/index.htm\" target=\"_self\">管理机构</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li><a href=\"../jgsz/cswyh/index.htm\" target=\"_self\">常设委员会</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</ul>\\n\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li class=\"lin-navli\">\\n\\t\\t\\t\\t\\t\\t<a href=\"../rcpy/index.htm\" target=\"_blank\">人才培养</a>\\n\\t\\t\\t\\t\\t\\t<div class=\"lin-navdiv\">\\n\\t\\t\\t\\t\\t\\t\\t<div class=\"sonnav-bg\">\\n\\t\\t\\t\\t\\t\\t\\t\\t<ul class=\"nav-conul clearfix\" style=\"padding-left: 99px;\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li><a href=\"../rcpy/msjs/index.htm\" target=\"_self\">名师介绍</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li><a href=\"../rcpy/bkjy/index.htm\" target=\"_self\">本科教育</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li><a href=\"../rcpy/jxjy/index.htm\" target=\"_self\">继续教育</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</ul>\\n\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li class=\"lin-navli\">\\n\\t\\t\\t\\t\\t\\t<a href=\"../jxky/index.htm\" target=\"_blank\">教学科研</a>\\n\\t\\t\\t\\t\\t\\t<div class=\"lin-navdiv\">\\n\\t\\t\\t\\t\\t\\t\\t<div class=\"sonnav-bg\">\\n\\t\\t\\t\\t\\t\\t\\t\\t<ul class=\"nav-conul clearfix\" style=\"padding-left: 99px;\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li><a href=\"http://jw.nfu.edu.cn/\" target=\"_self\">教务部</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li><a href=\"http://kyb.nfu.edu.cn/\" target=\"_self\">科研部</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li><a href=\"../jxky/kyjg/index.htm\" target=\"_self\">科研机构</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</ul>\\n\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li class=\"lin-navli\">\\n\\t\\t\\t\\t\\t\\t<a href=\"../zsjy/index.htm\" target=\"_blank\">招生就业</a>\\n\\t\\t\\t\\t\\t\\t<div class=\"lin-navdiv\">\\n\\t\\t\\t\\t\\t\\t\\t<div class=\"sonnav-bg\">\\n\\t\\t\\t\\t\\t\\t\\t\\t<ul class=\"nav-conul clearfix\" style=\"padding-left: 99px;\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li><a href=\"http://zsb.nfu.edu.cn/\" target=\"_self\">本科招生</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li><a href=\"http://jx.nfu.edu.cn/\" target=\"_self\">继续教育</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li><a href=\"../zsjy/jyfw/index.htm\" target=\"_self\">就业服务</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</ul>\\n\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li class=\"lin-navli\">\\n\\t\\t\\t\\t\\t\\t<a href=\"../tsg/index.htm\" target=\"_blank\">图书馆</a>\\n\\t\\t\\t\\t\\t\\t<div class=\"lin-navdiv\">\\n\\t\\t\\t\\t\\t\\t\\t<div class=\"sonnav-bg\">\\n\\t\\t\\t\\t\\t\\t\\t\\t<ul class=\"nav-conul clearfix\" style=\"padding-left: 99px;\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li><a href=\"http://lib.nfu.edu.cn/\" target=\"_self\">图书馆</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li><a href=\"http://das.nfu.edu.cn/\" target=\"_self\">档案室</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</ul>\\n\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li class=\"lin-navli\">\\n\\t\\t\\t\\t\\t\\t<a href=\"../hzjl/index.htm\" target=\"_blank\">合作交流</a>\\n\\t\\t\\t\\t\\t\\t<div class=\"lin-navdiv\">\\n\\t\\t\\t\\t\\t\\t\\t<div class=\"sonnav-bg\">\\n\\t\\t\\t\\t\\t\\t\\t\\t<ul class=\"nav-conul clearfix\" style=\"padding-left: 99px;\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li><a href=\"http://gj.nfu.edu.cn/\" target=\"_self\">国际交流</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li><a href=\"http://gj.nfu.edu.cn/Home/Waishi/waishilist/class/1/p/1.html\" target=\"_self\">外事服务</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</ul>\\n\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li class=\"lin-navli\">\\n\\t\\t\\t\\t\\t\\t<a href=\"../rczp/index.htm\" target=\"_blank\">人才招聘</a>\\n\\t\\t\\t\\t\\t\\t<div class=\"lin-navdiv\">\\n\\t\\t\\t\\t\\t\\t\\t<div class=\"sonnav-bg\">\\n\\t\\t\\t\\t\\t\\t\\t\\t<ul class=\"nav-conul clearfix\" style=\"padding-left: 99px;\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li><a href=\"../rczp/jsxl/index.htm\" target=\"_self\">教师系列</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li><a href=\"../rczp/glxl/index.htm\" target=\"_self\">管理系列</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</ul>\\n\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li class=\"lin-navli\">\\n\\t\\t\\t\\t\\t\\t<a href=\"../zjnf/index.htm\" target=\"_blank\">走进南方</a>\\n\\t\\t\\t\\t\\t\\t<div class=\"lin-navdiv\">\\n\\t\\t\\t\\t\\t\\t\\t<div class=\"sonnav-bg\">\\n\\t\\t\\t\\t\\t\\t\\t\\t<ul class=\"nav-conul clearfix\" style=\"padding-left: 99px;\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li><a href=\"../zjnf/tsnf/index.htm\" target=\"_self\">图说南方</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li><a href=\"../zjnf/shfw/index.htm\" target=\"_self\">生活服务</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li><a href=\"../zjnf/ylfw/index.htm\" target=\"_self\">医疗服务</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li><a href=\"../zjnf/xb/index.htm\" target=\"_self\">校报</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li><a href=\"../zjnf/jtzy/index.htm\" target=\"_self\">交通指引</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</ul>\\n\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t</ul>\\n\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t</div>\\n\\t\\t\\t<div class=\"lin-navbg\"></div>\\n\\n\\t<!--content-->\\n\\t<div class=\"lin-content\">\\n\\t\\t<div class=\"lin-neiye clearfix\">\\n\\t\\t\\t\\n<div class=\"list_left clearfix\">\\n\\t<div class=\"list_title\">校园动态</div>\\n\\t<div class=\"list_con\">\\n\\t  <p class=\"nav-ny\">\\n\\t   <span> </span>\\n\\t   <span></span>\\n\\t   <span></span>\\n\\t\\t</p>\\n\\t\\t<ul class=\"list_ul\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<a href=\"../xxyw/index.htm\">学校要闻<span class=\"yuan\"></span></a>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t  <ul class=\"in_ul\">\\n\\t\\t\\t\\t\\t  </ul>\\n\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<a href=\"index.htm\" class=\"current_in\">校园动态<span class=\"yuan\"></span></a>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t  <ul class=\"in_ul\">\\n\\t\\t\\t\\t\\t  </ul>\\n\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<a href=\"../tzgg/index.htm\">通知公告<span class=\"yuan\"></span></a>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t  <ul class=\"in_ul\">\\n\\t\\t\\t\\t\\t  </ul>\\n\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<a href=\"../ztb/index.htm\">招投标<span class=\"yuan\"></span></a>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t  <ul class=\"in_ul\">\\n\\t\\t\\t\\t\\t  </ul>\\n\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<a href=\"../gjdt/index.htm\">高教动态<span class=\"yuan\"></span></a>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t  <ul class=\"in_ul\">\\n\\t\\t\\t\\t\\t  </ul>\\n\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</ul>\\n\\t</div>\\n</div>\\t\\t\\t<div class=\"list_right\">\\n\\t\\t\\t\\t<div class=\"fan clearfix\">\\n\\t\\t\\t\\t\\t<span class=\"fan_title\">校园动态</span>\\n\\t\\t\\t\\t\\t<span class=\"fan_right\">您当前位置是：                 <a href=\"../index.htm\">网站首页</a> > \\n        <font>校园动态</font>\\n\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t<div class=\"ny_content\">\\n\\t\\t\\t\\t\\t<ul class=\"list-ul\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li>\\n\\t\\t\\t\\t\\t\\t\\t\\t<font class=\"right-more\">2021-04-09</font>\\n\\t\\t\\t\\t\\t\\t\\t\\t<div class=\"news_title\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a href=\"7dfe6fcd15fd495597cbd282de863733.htm\" title=\"【国奖映像】苏绮筠&#xff1a;让优秀成为习惯\">            【国奖映像】苏绮筠&#xff1a;让优秀成为习惯 \\n    </a>\\n\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li>\\n\\t\\t\\t\\t\\t\\t\\t\\t<font class=\"right-more\">2021-04-09</font>\\n\\t\\t\\t\\t\\t\\t\\t\\t<div class=\"news_title\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a href=\"09627d3243ee4578ac69be2881abd8b3.htm\" title=\"【国奖映像】陈宇：心怀热爱，奔赴梦想\">            【国奖映像】陈宇：心怀热爱，奔赴梦想 \\n    </a>\\n\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li>\\n\\t\\t\\t\\t\\t\\t\\t\\t<font class=\"right-more\">2021-04-09</font>\\n\\t\\t\\t\\t\\t\\t\\t\\t<div class=\"news_title\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a href=\"debea203b0c84a3092e6b5416cc4c2f1.htm\" title=\"护理与健康学院2020-2021第二学期团员培训课程第2讲圆满结束\">            护理与健康学院2020-2021第二学期团员培训课程第2讲圆满结束 \\n    </a>\\n\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li>\\n\\t\\t\\t\\t\\t\\t\\t\\t<font class=\"right-more\">2021-04-09</font>\\n\\t\\t\\t\\t\\t\\t\\t\\t<div class=\"news_title\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a href=\"9ec16bf90e164071b68a57332c5fe020.htm\" title=\"护理与健康学院2020-2021年度第二学期3月份团支部委员会顺利举行\">            护理与健康学院2020-2021年度第二学期3月份团支部委员会顺利举行 \\n    </a>\\n\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li>\\n\\t\\t\\t\\t\\t\\t\\t\\t<font class=\"right-more\">2021-04-07</font>\\n\\t\\t\\t\\t\\t\\t\\t\\t<div class=\"news_title\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a href=\"cf4420785b9046e99851413a1fb1b6f7.htm\" title=\"商学院电子商务专业召开申请调整学位授予学科门类 专家评审会\">            商学院电子商务专业召开申请调整学位授予学科门类 专家评审会 \\n    </a>\\n\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li>\\n\\t\\t\\t\\t\\t\\t\\t\\t<font class=\"right-more\">2021-04-06</font>\\n\\t\\t\\t\\t\\t\\t\\t\\t<div class=\"news_title\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a href=\"16f4c5f4bd284caebfe79cd5d66e288b.htm\" title=\"会计学院大一年级大会顺利召开\">            会计学院大一年级大会顺利召开 \\n    </a>\\n\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li>\\n\\t\\t\\t\\t\\t\\t\\t\\t<font class=\"right-more\">2021-04-06</font>\\n\\t\\t\\t\\t\\t\\t\\t\\t<div class=\"news_title\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a href=\"935f580040704990a4e396fa8091ee30.htm\" title=\"广州新华学院会计学院刘运国院长一行莅临我院访问\">            广州新华学院会计学院刘运国院长一行莅临我院访问 \\n    </a>\\n\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li>\\n\\t\\t\\t\\t\\t\\t\\t\\t<font class=\"right-more\">2021-04-02</font>\\n\\t\\t\\t\\t\\t\\t\\t\\t<div class=\"news_title\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a href=\"9611d110ec8a486587ab4020171ee9f5.htm\" title=\"【国奖映像】蒋晓琳&#xff1a;明确目标&#xff0c;为之努力\">            【国奖映像】蒋晓琳&#xff1a;明确目标&#xff0c;为之努力 \\n    </a>\\n\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li>\\n\\t\\t\\t\\t\\t\\t\\t\\t<font class=\"right-more\">2021-04-02</font>\\n\\t\\t\\t\\t\\t\\t\\t\\t<div class=\"news_title\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a href=\"8b2414ee7cca45d88c4217dd13f8f8ec.htm\" title=\"励能计划2021&#xff1a;你选哪一项&#xff1f;\">            励能计划2021&#xff1a;你选哪一项&#xff1f; \\n    </a>\\n\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li>\\n\\t\\t\\t\\t\\t\\t\\t\\t<font class=\"right-more\">2021-04-02</font>\\n\\t\\t\\t\\t\\t\\t\\t\\t<div class=\"news_title\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a href=\"a9523b72a34e4143afa9b38879ecba0c.htm\" title=\"党团同行传薪火&#xff0c;红色循迹筑初心——商学院党团同行重走“东江纵队”红色之路\">            党团同行传薪火&#xff0c;红色循迹筑初心——商学院党团同行重走“东江纵队”红色之路 \\n    </a>\\n\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li>\\n\\t\\t\\t\\t\\t\\t\\t\\t<font class=\"right-more\">2021-04-02</font>\\n\\t\\t\\t\\t\\t\\t\\t\\t<div class=\"news_title\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a href=\"f8434c9f092348c2a4a3c1ac8727a8fd.htm\" title=\"广州南方学院老年与慢病护理研究中心学术沙龙系列第3期圆满结束\">            广州南方学院老年与慢病护理研究中心学术沙龙系列第3期圆满结束 \\n    </a>\\n\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li>\\n\\t\\t\\t\\t\\t\\t\\t\\t<font class=\"right-more\">2021-04-01</font>\\n\\t\\t\\t\\t\\t\\t\\t\\t<div class=\"news_title\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a href=\"d60d33983337463390ef99385afce119.htm\" title=\"凝心聚力 共谱新篇——商学院召开新学期全体教职工大会\">            凝心聚力 共谱新篇——商学院召开新学期全体教职工大会 \\n    </a>\\n\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li>\\n\\t\\t\\t\\t\\t\\t\\t\\t<font class=\"right-more\">2021-04-01</font>\\n\\t\\t\\t\\t\\t\\t\\t\\t<div class=\"news_title\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a href=\"4b0c8e69b5074d28badd20cb55436009.htm\" title=\"青马工程｜“回首峥嵘岁月，领悟红船精神”——商学院百年党史宣讲活动\">            青马工程｜“回首峥嵘岁月，领悟红船精神”——商学院百年党史宣讲活动 \\n    </a>\\n\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li>\\n\\t\\t\\t\\t\\t\\t\\t\\t<font class=\"right-more\">2021-04-01</font>\\n\\t\\t\\t\\t\\t\\t\\t\\t<div class=\"news_title\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a href=\"bdda4dfbda944a3eb84612b7045620f4.htm\" title=\"护理与健康学院“教学相长，从教学中成长”暨青年教师专题讲座与交流活动圆满结束\">            护理与健康学院“教学相长，从教学中成长”暨青年教师专题讲座与交流活动圆满结束 \\n    </a>\\n\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li>\\n\\t\\t\\t\\t\\t\\t\\t\\t<font class=\"right-more\">2021-03-30</font>\\n\\t\\t\\t\\t\\t\\t\\t\\t<div class=\"news_title\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a href=\"96e05388e3fa43de9a8f446b083875f8.htm\" title=\"党建观摩拓思路，对照标杆“取真经”——我校商学院师生团队赴广东外语外贸大学南国商学院管理学院进行党建工作交流学习\">            党建观摩拓思路，对照标杆“取真经”——我校商学院师生团队赴广东外语外贸大学南国商学院管理学... \\n    </a>\\n\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li>\\n\\t\\t\\t\\t\\t\\t\\t\\t<font class=\"right-more\">2021-03-30</font>\\n\\t\\t\\t\\t\\t\\t\\t\\t<div class=\"news_title\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a href=\"25dc7cb574284be18a6c9a0640e5aca3.htm\" title=\"护理与健康学院直属党支部2021年春季入党积极分子培训圆满结束\">            护理与健康学院直属党支部2021年春季入党积极分子培训圆满结束 \\n    </a>\\n\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li>\\n\\t\\t\\t\\t\\t\\t\\t\\t<font class=\"right-more\">2021-03-29</font>\\n\\t\\t\\t\\t\\t\\t\\t\\t<div class=\"news_title\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a href=\"b9777111c2194e7b85143431ab4706a7.htm\" title=\"成长在文传我院举行2021年春季学期全体教职工大会\">            成长在文传我院举行2021年春季学期全体教职工大会 \\n    </a>\\n\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li>\\n\\t\\t\\t\\t\\t\\t\\t\\t<font class=\"right-more\">2021-03-29</font>\\n\\t\\t\\t\\t\\t\\t\\t\\t<div class=\"news_title\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a href=\"2f3dcc0f4400419e8e42af09fde3c251.htm\" title=\"“远离糖尿病&#xff0c;筑起健康防线” 护理与健康学院寒假社会实践调查成果汇报展示圆满结束\">            “远离糖尿病&#xff0c;筑起健康防线” 护理与健康学院寒假社会实践调查成果汇报展示圆满... \\n    </a>\\n\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li>\\n\\t\\t\\t\\t\\t\\t\\t\\t<font class=\"right-more\">2021-03-26</font>\\n\\t\\t\\t\\t\\t\\t\\t\\t<div class=\"news_title\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a href=\"c3846031b4c0444a99e0dfd90047c046.htm\" title=\"倾心指导促研学&#xff0c;凝心聚力谋发展——大英中心教学研究座谈会顺利召开\">            倾心指导促研学&#xff0c;凝心聚力谋发展——大英中心教学研究座谈会顺利召开 \\n    </a>\\n\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li>\\n\\t\\t\\t\\t\\t\\t\\t\\t<font class=\"right-more\">2021-03-26</font>\\n\\t\\t\\t\\t\\t\\t\\t\\t<div class=\"news_title\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a href=\"5e165fdaee834899891ba5b3eea69bc9.htm\" title=\"护理与健康学院第37期师生面对面顺利开展\">            护理与健康学院第37期师生面对面顺利开展 \\n    </a>\\n\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</ul>\\n\\t\\t\\t\\t\\t\\t<div style=\"clear: both;\"></div>\\n\\t\\t\\t\\t\\t\\t\\n\\t<div class=\"pages\" align=\"center\">\\n  <div>\\n            \\n    \\t\\t    \\t\\t        \\t\\t\\t<a class=\"next\" href=\"index1.htm\">&gt;&gt;</a>\\n\\t\\t    \\t\\t  </div>\\n</div>\\n    </div></div>\\n\\t\\t\\t\\t</div>\\n\\t\\t\\t</div>\\n\\t\\t</div>\\n\\t</div>\\n\\t\\t<!-- end 内容区域-->\\t\\n\\t\\t\\n\\t\\t<!--底部-->\\n\\t\\t\\n<div class=\"lin-footer\">\\n\\t<div class=\"lin-fer clearfix\">\\n\\t\\t<div class=\"ferleft\">\\n\\t\\t\\t<ul class=\"fer-ul clearfix\">\\n\\t\\t\\t<li class=\"fer-li\">\\n\\t\\t\\t<a href=\"http://www.moe.gov.cn/\" target=\"_blank\" title=\"教育部\">            教育部 \\n    </a>\\n\\t\\t</li>\\n\\t\\t\\t<li class=\"fer-li\">\\n\\t\\t\\t<a href=\"http://edu.gd.gov.cn/\" target=\"_blank\" title=\"广东省教育厅\">            广东省教育厅 \\n    </a>\\n\\t\\t</li>\\n\\t\\t\\t<li class=\"fer-li\">\\n\\t\\t\\t<a href=\"http://www.sysu.edu.cn/2012/cn/index.htm\" target=\"_blank\" title=\"中山大学\">            中山大学 \\n    </a>\\n\\t\\t</li>\\n\\t</ul>\\n<ul class=\"fer-ul clearfix\">\\n\\t\\t\\t<li class=\"fer-li\">\\n\\t\\t\\t<a href=\"http://www.gz.gov.cn/\" target=\"_blank\" title=\"广州市政府\">            广州市政府 \\n    </a>\\n\\t\\t</li>\\n\\t\\t\\t<li class=\"fer-li\">\\n\\t\\t\\t<a href=\"http://www.gdpr.com/\" target=\"_blank\" title=\"珠江投资\">            珠江投资 \\n    </a>\\n\\t\\t</li>\\n\\t\\t\\t<li class=\"fer-li\">\\n\\t\\t\\t<a href=\"http://www.gdmbjy.cn/\" target=\"_blank\" title=\"广东民办教育网\">            广东民办教育网 \\n    </a>\\n\\t\\t</li>\\n\\t</ul>\\n<ul class=\"fer-ul clearfix\">\\n\\t\\t\\t<li class=\"fer-li\">\\n\\t\\t\\t<a href=\"https://www.cnki.net/\" target=\"_blank\" title=\"中国知网\">            中国知网 \\n    </a>\\n\\t\\t</li>\\n\\t</ul>\\n\\t\\t</div>\\n\\t\\t<div class=\"fercen\">\\n\\t\\t\\t<div class=\"fer-er\">\\n\\t\\t\\t\\t<img src=\"../images/erweima1.jpg\">\\n\\t\\t\\t</div>\\n\\t\\t\\t<div class=\"fer-er\">\\n\\t\\t\\t\\t<img src=\"../images/erweima2.jpg\">\\n\\t\\t\\t</div>\\n\\t\\t</div>\\n\\t\\t<div class=\"ferright\">\\n\\t\\t\\t<div>\\n\\t\\t\\t\\t<p>\\n\\t\\t\\t\\t\\t<span>地址：广州市从化区温泉大道882号广州南方学院</span>\\n\\t\\t\\t\\t\\t<span>邮编：510970</span>\\n\\t\\t\\t\\t</p>\\n\\t\\t\\t</div>\\n\\t\\t\\t<div class=\"addleft\">\\n\\t\\t\\t\\t<p>联系电话：020-61787368</p>\\n\\t\\t\\t\\t<p>版权所有 ©  广州南方学院</p>\\n\\t\\t\\t\\t<p>技术支持：<a href=\"https://www.gpowersoft.com/\" target=\"_blank\">Gpower 通元软件</a>\\n\\t\\t\\t\\t</p>\\n\\t\\t\\t</div>\\n\\t\\t\\t<div class=\"addright\">\\n\\t\\t\\t\\t<p>招生咨询：020-61787331</p> \\n\\t\\t\\t\\t<p>\\n\\t\\t\\t\\t\\t<span class=\"add-spante\">\\n\\t\\t\\t\\t\\t\\t<a target=\"_blank\" href=\"https://beian.miit.gov.cn/\">粤ICP备11077779号</a>\\n\\t\\t\\t\\t\\t</span> \\n\\t\\t\\t\\t\\t<span class=\"add-spante\">\\n\\t\\t\\t\\t\\t\\t<a href=\"http://tycms.nfu.edu.cn/cms/main\" target=\"_blank\">网站管理</a>&nbsp;&nbsp;\\n\\t\\t\\t\\t\\t\\t<a href=\"http://old.nfu.edu.cn/\" target=\"_blank\">旧站入口</a>\\n\\t\\t\\t\\t\\t</span>\\n\\t\\t\\t\\t</p>\\n\\t\\t\\t\\t\\n\\t\\t\\t</div>\\n\\t\\t</div>\\n\\t\\t\\n\\t\\t<div align=\"center\">\\n\\t\\t\\t<a target=\"_blank\" href=\"http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=44011702000081\" style=\"display:inline-block;text-decoration:none;height:20px;line-height:20px;\">\\n\\t\\t\\t\\t<img src=\"../images/icp.png\" style=\"float:left;\">\\n\\t\\t\\t\\t<p style=\"float:left;height:20px;line-height:20px;margin: 0px 0px 0px 5px; color:#ffffff;\">粤公网安备 44011702000081号</p>\\n\\t\\t\\t</a>\\n\\t\\t</div>\\n\\t</div>\\n</div>\\t\\t<!-- end 底部-->\\n\\n\\t\\t<script type=\"text/javascript\" language=\"javascript\">\\n\\t\\t\\t\\n    //加入收藏\\n    \\n    function AddFavorite(sURL, sTitle) {\\n    \\t\\n    \\tsURL = encodeURI(sURL); \\n    \\ttry{   \\n    \\t\\t\\n    \\t\\twindow.external.addFavorite(sURL, sTitle);   \\n    \\t\\t\\n    \\t}catch(e) {   \\n    \\t\\t\\n    \\t\\ttry{   \\n    \\t\\t\\t\\n    \\t\\t\\twindow.sidebar.addPanel(sTitle, sURL, \"\");   \\n    \\t\\t\\t\\n    \\t\\t}catch (e) {   \\n    \\t\\t\\t\\n    \\t\\t\\talert(\"加入收藏失败，请使用Ctrl+D进行添加,或手动在浏览器里进行设置.\");\\n    \\t\\t\\t\\n    \\t\\t}   \\n    \\t\\t\\n    \\t}\\n    \\t\\n    }\\n    \\n    //设为首页\\n    \\n    function SetHome(url){\\n    \\t\\n    \\tif (document.all) {\\n    \\t\\t\\n    \\t\\tdocument.body.style.behavior=\\'url(#default#homepage)\\';\\n    \\t\\t\\n    \\t\\tdocument.body.setHomePage(url);\\n    \\t\\t\\n    \\t}else{\\n    \\t\\t\\n    \\t\\talert(\"您好,您的浏览器不支持自动设置页面为首页功能,请您手动在浏览器里设置该页面为首页!\");\\n    \\t\\t\\n    \\t}\\n    \\t\\n    }\\n    \\n</script>\\n\\n\\n\\n</body></html><script type=\\'text/javascript\\' src=\\'../g_style/g_list.js\\'></script>\\n</body></html>'"
      ]
     },
     "execution_count": 10,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 转化为html 文件\n",
    "r.html.html  \n",
    "# 可存网页为文字档"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "##  html 页面数据的存与读"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 将上方读取的文字档html,存储到“ xydt_官网HTML文字档.html”这个文件\n",
    "with open (\"xydt_官网HTML文字档.html\", encoding = \"utf8\", mode = \"w\") as fp:\n",
    "    fp.write(r.html.html)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'<!DOCTYPE html>\\n<html><head><meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\\n\\t<meta name=\"renderer\" content=\"webkit\">\\n\\t<meta http-equiv=\"x-ua-compatible\" content=\"IE=edge\">\\n\\n\\t<title>校园动态 - 广州南方学院</title>\\n\\t<meta name=\"keywords\" content=\"\">\\n\\t<meta name=\"description\" content=\"\">\\n\\t\\n\\t<link rel=\"stylesheet\" type=\"text/css\" href=\"../css/swiper-3.3.1.min.css\">\\n\\t<link href=\"../css/lin.css\" rel=\"stylesheet\" type=\"text/css\">\\n\\n\\t<script src=\"../js/jquery-1.11.3.min.js\"></script>\\n\\t<script src=\"../js/jquery-1.11.1.js\"></script>\\n\\t<script src=\"../js/jquery.easie-min.js\" type=\"text/javascript\"></script>\\n\\t<script src=\"../js/swiper.min.js\" type=\"text/javascript\"></script>\\n\\t<script src=\"../js/lin.js\"></script>\\n\\t\\n\\t\\n\\t<link href=\"../css/page.css\" rel=\"stylesheet\" type=\"text/css\">\\n\\t<link href=\"http://www.nfu.edu.cn/Public/favicon.ico\" rel=\"Shortcut Icon\">\\n\\t<link href=\"http://www.nfu.edu.cn/Public/favicon.ico\" rel=\"Bookmark\">\\n\\n<script type=\"text/javascript\"> \\n\\tvar browser={\\n\\t    versions:function(){\\n\\t        var u = navigator.userAgent, app = navigator.appVersion;\\n\\t        return {//移动终端浏览器版本信息\\n\\t            trident: u.indexOf(\\'Trident\\') > -1, //IE内核\\n\\t            presto: u.indexOf(\\'Presto\\') > -1, //opera内核\\n\\t            webKit: u.indexOf(\\'AppleWebKit\\') > -1, //苹果、谷歌内核\\n\\t            gecko: u.indexOf(\\'Gecko\\') > -1 && u.indexOf(\\'KHTML\\') == -1, //火狐内核\\n\\t            mobile: !!u.match(/AppleWebKit.*Mobile.*/)||u.indexOf(\\'iPad\\') > -1, //是否为移动终端\\n\\t            ios: !!u.match(/\\\\(i[^;]+;( U;)? CPU.+Mac OS X/), //ios终端\\n\\t            android: u.indexOf(\\'Android\\') > -1 || u.indexOf(\\'Linux\\') > -1, //android终端或者uc浏览器\\n\\t            iPhone: u.indexOf(\\'iPhone\\') > -1, //是否为iPhone或者QQHD浏览器\\n\\t            iPad: u.indexOf(\\'iPad\\') > -1, //是否iPad\\n\\t            webApp: u.indexOf(\\'Safari\\') == -1 //是否web应该程序，没有头部与底部\\n\\t        };\\n\\t    }(),\\n\\t}\\n\\tif(browser.versions.android || browser.versions.iPhone){\\n\\t\\tvar url = document.location.href ;\\n\\t\\tvar ext = url.substr(url.lastIndexOf(\".\"),url.length) ;\\n\\t\\tif(ext != null && (ext == \\'.htm\\' || ext == \\'.html\\')){\\n\\t\\t\\turl = url.substr(0,url.lastIndexOf(\".\")) ;\\n\\t\\t\\turl = url + \"_mobile\" + ext ;\\n\\t\\t}else{\\n\\t\\t\\turl = url + \"index_mobile.htm\" ;\\n\\t\\t}\\n\\t\\tdocument.location = url ;\\n\\t}\\n</script>\\n </head>\\n<body>\\n<!--头部-->\\n\\t\\n<div class=\"lin-header \">\\n\\t\\t<div class=\"lin-head clearfix\">\\n\\t\\t\\t<h1 class=\"lin-topl\">\\n\\t\\t\\t\\t<a href=\"../index.htm\" target=\"_blank\" title=\"广州南方学院\">\\n\\t\\t\\t\\t\\t<img src=\"../images/logo.png\">\\n\\t\\t\\t\\t</a>\\n\\t\\t\\t</h1>\\n\\t\\t\\t<div class=\"lin-topr\">\\n\\t\\t\\t\\t<div class=\"lin-youxiang\">\\n\\t\\t\\t\\t\\t<!--<a href=\"http://oa.nfu.edu.cn/\" target=\"_blank\">办公系统</a>-->\\n\\t\\t\\t\\t\\t<a href=\"http://en.nfu.edu.cn/\">English Version</a>\\n\\t\\t\\t\\t\\t\\t<!-- <a href=\"https://mail.nfu.edu.cn/\" target=\"_blank\">邮箱登录</a>\\n\\t\\t\\t\\t\\t\\t\\t<a href=\"mailto:nfcsysuyz@126.com\" target=\"_blank\" title=\"nfcsysuyz@126.com\" >院长信箱</a> -->\\n\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t<div class=\"lin-ser lin-serhide\">\\n\\t\\t\\t\\t\\t<div class=\"serbox\">\\n\\t\\t\\t\\t\\t\\t<form action=\"/cms/web/search/index.jsp\" method=\"get\" id=\"search_form\">\\n\\t\\t\\t\\t\\t\\t\\t<input name=\"siteID\" value=\"bbef6bf928be491d9180b44993df0ac9\" type =\"hidden\"> \\n\\t\\t\\t\\t\\t\\t\\t<input type=\"text\" name=\"query\" id=\"keyword\" placeholder=\"搜索\">\\n\\t\\t\\t\\t\\t\\t\\t<a href=\"javascript:;\" id=\"search_btn\">\\n\\t\\t\\t\\t\\t\\t\\t</a>\\n\\t\\t\\t\\t\\t\\t</form>\\t\\n\\t\\t\\t\\t\\t\\t<script type=\"text/javascript\">\\n\\t\\t\\t\\t\\t\\t\\t$(\"#search_btn\").click(function(){\\n\\t\\t\\t\\t\\t\\t\\t\\tvar keyword=$(\"#keyword\").val();\\n\\t\\t\\t\\t\\t\\t\\t\\tif(keyword==\\'\\'){\\n\\t\\t\\t\\t\\t\\t\\t\\t\\talert(\\'* 请输入搜索关键词 !\\');\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t$(\"#keyword\").focus();\\n\\t\\t\\t\\t\\t\\t\\t\\t\\treturn false;\\n\\t\\t\\t\\t\\t\\t\\t\\t}else{\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t$(\"#search_form\").submit();\\n\\t\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t\\t})\\n\\t\\t\\t\\t\\t\\t</script>\\n\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t</div>\\n\\t\\t\\t</div>\\n\\t\\t</div>\\n\\t</div>\\n\\t\\t\\t<!-- end 头部-->\\n\\t\\t\\t<!--导航条-->\\n\\t\\t\\t<div class=\"lin-navbar\">\\n\\t\\t\\t\\t<p class=\"navnav\">\\n\\t\\t\\t\\t\\t<span>\\n\\t\\t\\t\\t\\t</span>\\n\\t\\t\\t\\t\\t<span>\\n\\t\\t\\t\\t\\t</span>\\n\\t\\t\\t\\t\\t<span>\\n\\t\\t\\t\\t\\t</span>\\n\\t\\t\\t\\t</p>\\n\\t\\t\\t\\t<ul class=\"lin-nav clearfix\">\\n\\t\\t\\t\\t\\t<li class=\"lin-navli\"><a href=\"../index.htm\">首页</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li class=\"lin-navli\">\\n\\t\\t\\t\\t\\t\\t<a href=\"../xxgk/index.htm\" target=\"_blank\">学校概况</a>\\n\\t\\t\\t\\t\\t\\t<div class=\"lin-navdiv\">\\n\\t\\t\\t\\t\\t\\t\\t<div class=\"sonnav-bg\">\\n\\t\\t\\t\\t\\t\\t\\t\\t<ul class=\"nav-conul clearfix\" style=\"padding-left: 99px;\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li><a href=\"../xxgk/xxjj/index.htm\" target=\"_self\">学校简介</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li><a href=\"../xxgk/xrld/index.htm\" target=\"_self\">现任领导</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li><a href=\"../xxgk/xhxxxg/index.htm\" target=\"_self\">校徽  校训  校歌</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li><a href=\"../xxgk/nfdsj/index.htm\" target=\"_self\">南方大事记</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li><a href=\"../xxgk/xxxl/index.htm\" target=\"_self\">学校校历</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</ul>\\n\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li class=\"lin-navli\">\\n\\t\\t\\t\\t\\t\\t\\t<a href=\"http://cpc.nfu.edu.cn/\" target=\"_self\">党建之窗</a>\\n\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li class=\"lin-navli\">\\n\\t\\t\\t\\t\\t\\t<a href=\"../jgsz/index.htm\" target=\"_blank\">机构设置</a>\\n\\t\\t\\t\\t\\t\\t<div class=\"lin-navdiv\">\\n\\t\\t\\t\\t\\t\\t\\t<div class=\"sonnav-bg\">\\n\\t\\t\\t\\t\\t\\t\\t\\t<ul class=\"nav-conul clearfix\" style=\"padding-left: 99px;\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li><a href=\"../jgsz/yxsz/index.htm\" target=\"_self\">院系设置</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li><a href=\"../jgsz/gljg/index.htm\" target=\"_self\">管理机构</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li><a href=\"../jgsz/cswyh/index.htm\" target=\"_self\">常设委员会</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</ul>\\n\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li class=\"lin-navli\">\\n\\t\\t\\t\\t\\t\\t<a href=\"../rcpy/index.htm\" target=\"_blank\">人才培养</a>\\n\\t\\t\\t\\t\\t\\t<div class=\"lin-navdiv\">\\n\\t\\t\\t\\t\\t\\t\\t<div class=\"sonnav-bg\">\\n\\t\\t\\t\\t\\t\\t\\t\\t<ul class=\"nav-conul clearfix\" style=\"padding-left: 99px;\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li><a href=\"../rcpy/msjs/index.htm\" target=\"_self\">名师介绍</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li><a href=\"../rcpy/bkjy/index.htm\" target=\"_self\">本科教育</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li><a href=\"../rcpy/jxjy/index.htm\" target=\"_self\">继续教育</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</ul>\\n\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li class=\"lin-navli\">\\n\\t\\t\\t\\t\\t\\t<a href=\"../jxky/index.htm\" target=\"_blank\">教学科研</a>\\n\\t\\t\\t\\t\\t\\t<div class=\"lin-navdiv\">\\n\\t\\t\\t\\t\\t\\t\\t<div class=\"sonnav-bg\">\\n\\t\\t\\t\\t\\t\\t\\t\\t<ul class=\"nav-conul clearfix\" style=\"padding-left: 99px;\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li><a href=\"http://jw.nfu.edu.cn/\" target=\"_self\">教务部</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li><a href=\"http://kyb.nfu.edu.cn/\" target=\"_self\">科研部</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li><a href=\"../jxky/kyjg/index.htm\" target=\"_self\">科研机构</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</ul>\\n\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li class=\"lin-navli\">\\n\\t\\t\\t\\t\\t\\t<a href=\"../zsjy/index.htm\" target=\"_blank\">招生就业</a>\\n\\t\\t\\t\\t\\t\\t<div class=\"lin-navdiv\">\\n\\t\\t\\t\\t\\t\\t\\t<div class=\"sonnav-bg\">\\n\\t\\t\\t\\t\\t\\t\\t\\t<ul class=\"nav-conul clearfix\" style=\"padding-left: 99px;\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li><a href=\"http://zsb.nfu.edu.cn/\" target=\"_self\">本科招生</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li><a href=\"http://jx.nfu.edu.cn/\" target=\"_self\">继续教育</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li><a href=\"../zsjy/jyfw/index.htm\" target=\"_self\">就业服务</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</ul>\\n\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li class=\"lin-navli\">\\n\\t\\t\\t\\t\\t\\t<a href=\"../tsg/index.htm\" target=\"_blank\">图书馆</a>\\n\\t\\t\\t\\t\\t\\t<div class=\"lin-navdiv\">\\n\\t\\t\\t\\t\\t\\t\\t<div class=\"sonnav-bg\">\\n\\t\\t\\t\\t\\t\\t\\t\\t<ul class=\"nav-conul clearfix\" style=\"padding-left: 99px;\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li><a href=\"http://lib.nfu.edu.cn/\" target=\"_self\">图书馆</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li><a href=\"http://das.nfu.edu.cn/\" target=\"_self\">档案室</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</ul>\\n\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li class=\"lin-navli\">\\n\\t\\t\\t\\t\\t\\t<a href=\"../hzjl/index.htm\" target=\"_blank\">合作交流</a>\\n\\t\\t\\t\\t\\t\\t<div class=\"lin-navdiv\">\\n\\t\\t\\t\\t\\t\\t\\t<div class=\"sonnav-bg\">\\n\\t\\t\\t\\t\\t\\t\\t\\t<ul class=\"nav-conul clearfix\" style=\"padding-left: 99px;\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li><a href=\"http://gj.nfu.edu.cn/\" target=\"_self\">国际交流</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li><a href=\"http://gj.nfu.edu.cn/Home/Waishi/waishilist/class/1/p/1.html\" target=\"_self\">外事服务</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</ul>\\n\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li class=\"lin-navli\">\\n\\t\\t\\t\\t\\t\\t<a href=\"../rczp/index.htm\" target=\"_blank\">人才招聘</a>\\n\\t\\t\\t\\t\\t\\t<div class=\"lin-navdiv\">\\n\\t\\t\\t\\t\\t\\t\\t<div class=\"sonnav-bg\">\\n\\t\\t\\t\\t\\t\\t\\t\\t<ul class=\"nav-conul clearfix\" style=\"padding-left: 99px;\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li><a href=\"../rczp/jsxl/index.htm\" target=\"_self\">教师系列</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li><a href=\"../rczp/glxl/index.htm\" target=\"_self\">管理系列</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</ul>\\n\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li class=\"lin-navli\">\\n\\t\\t\\t\\t\\t\\t<a href=\"../zjnf/index.htm\" target=\"_blank\">走进南方</a>\\n\\t\\t\\t\\t\\t\\t<div class=\"lin-navdiv\">\\n\\t\\t\\t\\t\\t\\t\\t<div class=\"sonnav-bg\">\\n\\t\\t\\t\\t\\t\\t\\t\\t<ul class=\"nav-conul clearfix\" style=\"padding-left: 99px;\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li><a href=\"../zjnf/tsnf/index.htm\" target=\"_self\">图说南方</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li><a href=\"../zjnf/shfw/index.htm\" target=\"_self\">生活服务</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li><a href=\"../zjnf/ylfw/index.htm\" target=\"_self\">医疗服务</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li><a href=\"../zjnf/xb/index.htm\" target=\"_self\">校报</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li><a href=\"../zjnf/jtzy/index.htm\" target=\"_self\">交通指引</a></li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</ul>\\n\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t</ul>\\n\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t</div>\\n\\t\\t\\t<div class=\"lin-navbg\"></div>\\n\\n\\t<!--content-->\\n\\t<div class=\"lin-content\">\\n\\t\\t<div class=\"lin-neiye clearfix\">\\n\\t\\t\\t\\n<div class=\"list_left clearfix\">\\n\\t<div class=\"list_title\">校园动态</div>\\n\\t<div class=\"list_con\">\\n\\t  <p class=\"nav-ny\">\\n\\t   <span> </span>\\n\\t   <span></span>\\n\\t   <span></span>\\n\\t\\t</p>\\n\\t\\t<ul class=\"list_ul\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<a href=\"../xxyw/index.htm\">学校要闻<span class=\"yuan\"></span></a>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t  <ul class=\"in_ul\">\\n\\t\\t\\t\\t\\t  </ul>\\n\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<a href=\"index.htm\" class=\"current_in\">校园动态<span class=\"yuan\"></span></a>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t  <ul class=\"in_ul\">\\n\\t\\t\\t\\t\\t  </ul>\\n\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<a href=\"../tzgg/index.htm\">通知公告<span class=\"yuan\"></span></a>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t  <ul class=\"in_ul\">\\n\\t\\t\\t\\t\\t  </ul>\\n\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<a href=\"../ztb/index.htm\">招投标<span class=\"yuan\"></span></a>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t  <ul class=\"in_ul\">\\n\\t\\t\\t\\t\\t  </ul>\\n\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<a href=\"../gjdt/index.htm\">高教动态<span class=\"yuan\"></span></a>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t  <ul class=\"in_ul\">\\n\\t\\t\\t\\t\\t  </ul>\\n\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</ul>\\n\\t</div>\\n</div>\\t\\t\\t<div class=\"list_right\">\\n\\t\\t\\t\\t<div class=\"fan clearfix\">\\n\\t\\t\\t\\t\\t<span class=\"fan_title\">校园动态</span>\\n\\t\\t\\t\\t\\t<span class=\"fan_right\">您当前位置是：                 <a href=\"../index.htm\">网站首页</a> > \\n        <font>校园动态</font>\\n\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t<div class=\"ny_content\">\\n\\t\\t\\t\\t\\t<ul class=\"list-ul\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li>\\n\\t\\t\\t\\t\\t\\t\\t\\t<font class=\"right-more\">2021-04-09</font>\\n\\t\\t\\t\\t\\t\\t\\t\\t<div class=\"news_title\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a href=\"7dfe6fcd15fd495597cbd282de863733.htm\" title=\"【国奖映像】苏绮筠&#xff1a;让优秀成为习惯\">            【国奖映像】苏绮筠&#xff1a;让优秀成为习惯 \\n    </a>\\n\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li>\\n\\t\\t\\t\\t\\t\\t\\t\\t<font class=\"right-more\">2021-04-09</font>\\n\\t\\t\\t\\t\\t\\t\\t\\t<div class=\"news_title\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a href=\"09627d3243ee4578ac69be2881abd8b3.htm\" title=\"【国奖映像】陈宇：心怀热爱，奔赴梦想\">            【国奖映像】陈宇：心怀热爱，奔赴梦想 \\n    </a>\\n\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li>\\n\\t\\t\\t\\t\\t\\t\\t\\t<font class=\"right-more\">2021-04-09</font>\\n\\t\\t\\t\\t\\t\\t\\t\\t<div class=\"news_title\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a href=\"debea203b0c84a3092e6b5416cc4c2f1.htm\" title=\"护理与健康学院2020-2021第二学期团员培训课程第2讲圆满结束\">            护理与健康学院2020-2021第二学期团员培训课程第2讲圆满结束 \\n    </a>\\n\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li>\\n\\t\\t\\t\\t\\t\\t\\t\\t<font class=\"right-more\">2021-04-09</font>\\n\\t\\t\\t\\t\\t\\t\\t\\t<div class=\"news_title\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a href=\"9ec16bf90e164071b68a57332c5fe020.htm\" title=\"护理与健康学院2020-2021年度第二学期3月份团支部委员会顺利举行\">            护理与健康学院2020-2021年度第二学期3月份团支部委员会顺利举行 \\n    </a>\\n\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li>\\n\\t\\t\\t\\t\\t\\t\\t\\t<font class=\"right-more\">2021-04-07</font>\\n\\t\\t\\t\\t\\t\\t\\t\\t<div class=\"news_title\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a href=\"cf4420785b9046e99851413a1fb1b6f7.htm\" title=\"商学院电子商务专业召开申请调整学位授予学科门类 专家评审会\">            商学院电子商务专业召开申请调整学位授予学科门类 专家评审会 \\n    </a>\\n\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li>\\n\\t\\t\\t\\t\\t\\t\\t\\t<font class=\"right-more\">2021-04-06</font>\\n\\t\\t\\t\\t\\t\\t\\t\\t<div class=\"news_title\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a href=\"16f4c5f4bd284caebfe79cd5d66e288b.htm\" title=\"会计学院大一年级大会顺利召开\">            会计学院大一年级大会顺利召开 \\n    </a>\\n\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li>\\n\\t\\t\\t\\t\\t\\t\\t\\t<font class=\"right-more\">2021-04-06</font>\\n\\t\\t\\t\\t\\t\\t\\t\\t<div class=\"news_title\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a href=\"935f580040704990a4e396fa8091ee30.htm\" title=\"广州新华学院会计学院刘运国院长一行莅临我院访问\">            广州新华学院会计学院刘运国院长一行莅临我院访问 \\n    </a>\\n\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li>\\n\\t\\t\\t\\t\\t\\t\\t\\t<font class=\"right-more\">2021-04-02</font>\\n\\t\\t\\t\\t\\t\\t\\t\\t<div class=\"news_title\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a href=\"9611d110ec8a486587ab4020171ee9f5.htm\" title=\"【国奖映像】蒋晓琳&#xff1a;明确目标&#xff0c;为之努力\">            【国奖映像】蒋晓琳&#xff1a;明确目标&#xff0c;为之努力 \\n    </a>\\n\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li>\\n\\t\\t\\t\\t\\t\\t\\t\\t<font class=\"right-more\">2021-04-02</font>\\n\\t\\t\\t\\t\\t\\t\\t\\t<div class=\"news_title\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a href=\"8b2414ee7cca45d88c4217dd13f8f8ec.htm\" title=\"励能计划2021&#xff1a;你选哪一项&#xff1f;\">            励能计划2021&#xff1a;你选哪一项&#xff1f; \\n    </a>\\n\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li>\\n\\t\\t\\t\\t\\t\\t\\t\\t<font class=\"right-more\">2021-04-02</font>\\n\\t\\t\\t\\t\\t\\t\\t\\t<div class=\"news_title\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a href=\"a9523b72a34e4143afa9b38879ecba0c.htm\" title=\"党团同行传薪火&#xff0c;红色循迹筑初心——商学院党团同行重走“东江纵队”红色之路\">            党团同行传薪火&#xff0c;红色循迹筑初心——商学院党团同行重走“东江纵队”红色之路 \\n    </a>\\n\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li>\\n\\t\\t\\t\\t\\t\\t\\t\\t<font class=\"right-more\">2021-04-02</font>\\n\\t\\t\\t\\t\\t\\t\\t\\t<div class=\"news_title\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a href=\"f8434c9f092348c2a4a3c1ac8727a8fd.htm\" title=\"广州南方学院老年与慢病护理研究中心学术沙龙系列第3期圆满结束\">            广州南方学院老年与慢病护理研究中心学术沙龙系列第3期圆满结束 \\n    </a>\\n\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li>\\n\\t\\t\\t\\t\\t\\t\\t\\t<font class=\"right-more\">2021-04-01</font>\\n\\t\\t\\t\\t\\t\\t\\t\\t<div class=\"news_title\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a href=\"d60d33983337463390ef99385afce119.htm\" title=\"凝心聚力 共谱新篇——商学院召开新学期全体教职工大会\">            凝心聚力 共谱新篇——商学院召开新学期全体教职工大会 \\n    </a>\\n\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li>\\n\\t\\t\\t\\t\\t\\t\\t\\t<font class=\"right-more\">2021-04-01</font>\\n\\t\\t\\t\\t\\t\\t\\t\\t<div class=\"news_title\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a href=\"4b0c8e69b5074d28badd20cb55436009.htm\" title=\"青马工程｜“回首峥嵘岁月，领悟红船精神”——商学院百年党史宣讲活动\">            青马工程｜“回首峥嵘岁月，领悟红船精神”——商学院百年党史宣讲活动 \\n    </a>\\n\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li>\\n\\t\\t\\t\\t\\t\\t\\t\\t<font class=\"right-more\">2021-04-01</font>\\n\\t\\t\\t\\t\\t\\t\\t\\t<div class=\"news_title\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a href=\"bdda4dfbda944a3eb84612b7045620f4.htm\" title=\"护理与健康学院“教学相长，从教学中成长”暨青年教师专题讲座与交流活动圆满结束\">            护理与健康学院“教学相长，从教学中成长”暨青年教师专题讲座与交流活动圆满结束 \\n    </a>\\n\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li>\\n\\t\\t\\t\\t\\t\\t\\t\\t<font class=\"right-more\">2021-03-30</font>\\n\\t\\t\\t\\t\\t\\t\\t\\t<div class=\"news_title\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a href=\"96e05388e3fa43de9a8f446b083875f8.htm\" title=\"党建观摩拓思路，对照标杆“取真经”——我校商学院师生团队赴广东外语外贸大学南国商学院管理学院进行党建工作交流学习\">            党建观摩拓思路，对照标杆“取真经”——我校商学院师生团队赴广东外语外贸大学南国商学院管理学... \\n    </a>\\n\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li>\\n\\t\\t\\t\\t\\t\\t\\t\\t<font class=\"right-more\">2021-03-30</font>\\n\\t\\t\\t\\t\\t\\t\\t\\t<div class=\"news_title\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a href=\"25dc7cb574284be18a6c9a0640e5aca3.htm\" title=\"护理与健康学院直属党支部2021年春季入党积极分子培训圆满结束\">            护理与健康学院直属党支部2021年春季入党积极分子培训圆满结束 \\n    </a>\\n\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li>\\n\\t\\t\\t\\t\\t\\t\\t\\t<font class=\"right-more\">2021-03-29</font>\\n\\t\\t\\t\\t\\t\\t\\t\\t<div class=\"news_title\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a href=\"b9777111c2194e7b85143431ab4706a7.htm\" title=\"成长在文传我院举行2021年春季学期全体教职工大会\">            成长在文传我院举行2021年春季学期全体教职工大会 \\n    </a>\\n\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li>\\n\\t\\t\\t\\t\\t\\t\\t\\t<font class=\"right-more\">2021-03-29</font>\\n\\t\\t\\t\\t\\t\\t\\t\\t<div class=\"news_title\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a href=\"2f3dcc0f4400419e8e42af09fde3c251.htm\" title=\"“远离糖尿病&#xff0c;筑起健康防线” 护理与健康学院寒假社会实践调查成果汇报展示圆满结束\">            “远离糖尿病&#xff0c;筑起健康防线” 护理与健康学院寒假社会实践调查成果汇报展示圆满... \\n    </a>\\n\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li>\\n\\t\\t\\t\\t\\t\\t\\t\\t<font class=\"right-more\">2021-03-26</font>\\n\\t\\t\\t\\t\\t\\t\\t\\t<div class=\"news_title\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a href=\"c3846031b4c0444a99e0dfd90047c046.htm\" title=\"倾心指导促研学&#xff0c;凝心聚力谋发展——大英中心教学研究座谈会顺利召开\">            倾心指导促研学&#xff0c;凝心聚力谋发展——大英中心教学研究座谈会顺利召开 \\n    </a>\\n\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li>\\n\\t\\t\\t\\t\\t\\t\\t\\t<font class=\"right-more\">2021-03-26</font>\\n\\t\\t\\t\\t\\t\\t\\t\\t<div class=\"news_title\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a href=\"5e165fdaee834899891ba5b3eea69bc9.htm\" title=\"护理与健康学院第37期师生面对面顺利开展\">            护理与健康学院第37期师生面对面顺利开展 \\n    </a>\\n\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t</li>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</ul>\\n\\t\\t\\t\\t\\t\\t<div style=\"clear: both;\"></div>\\n\\t\\t\\t\\t\\t\\t\\n\\t<div class=\"pages\" align=\"center\">\\n  <div>\\n            \\n    \\t\\t    \\t\\t        \\t\\t\\t<a class=\"next\" href=\"index1.htm\">&gt;&gt;</a>\\n\\t\\t    \\t\\t  </div>\\n</div>\\n    </div></div>\\n\\t\\t\\t\\t</div>\\n\\t\\t\\t</div>\\n\\t\\t</div>\\n\\t</div>\\n\\t\\t<!-- end 内容区域-->\\t\\n\\t\\t\\n\\t\\t<!--底部-->\\n\\t\\t\\n<div class=\"lin-footer\">\\n\\t<div class=\"lin-fer clearfix\">\\n\\t\\t<div class=\"ferleft\">\\n\\t\\t\\t<ul class=\"fer-ul clearfix\">\\n\\t\\t\\t<li class=\"fer-li\">\\n\\t\\t\\t<a href=\"http://www.moe.gov.cn/\" target=\"_blank\" title=\"教育部\">            教育部 \\n    </a>\\n\\t\\t</li>\\n\\t\\t\\t<li class=\"fer-li\">\\n\\t\\t\\t<a href=\"http://edu.gd.gov.cn/\" target=\"_blank\" title=\"广东省教育厅\">            广东省教育厅 \\n    </a>\\n\\t\\t</li>\\n\\t\\t\\t<li class=\"fer-li\">\\n\\t\\t\\t<a href=\"http://www.sysu.edu.cn/2012/cn/index.htm\" target=\"_blank\" title=\"中山大学\">            中山大学 \\n    </a>\\n\\t\\t</li>\\n\\t</ul>\\n<ul class=\"fer-ul clearfix\">\\n\\t\\t\\t<li class=\"fer-li\">\\n\\t\\t\\t<a href=\"http://www.gz.gov.cn/\" target=\"_blank\" title=\"广州市政府\">            广州市政府 \\n    </a>\\n\\t\\t</li>\\n\\t\\t\\t<li class=\"fer-li\">\\n\\t\\t\\t<a href=\"http://www.gdpr.com/\" target=\"_blank\" title=\"珠江投资\">            珠江投资 \\n    </a>\\n\\t\\t</li>\\n\\t\\t\\t<li class=\"fer-li\">\\n\\t\\t\\t<a href=\"http://www.gdmbjy.cn/\" target=\"_blank\" title=\"广东民办教育网\">            广东民办教育网 \\n    </a>\\n\\t\\t</li>\\n\\t</ul>\\n<ul class=\"fer-ul clearfix\">\\n\\t\\t\\t<li class=\"fer-li\">\\n\\t\\t\\t<a href=\"https://www.cnki.net/\" target=\"_blank\" title=\"中国知网\">            中国知网 \\n    </a>\\n\\t\\t</li>\\n\\t</ul>\\n\\t\\t</div>\\n\\t\\t<div class=\"fercen\">\\n\\t\\t\\t<div class=\"fer-er\">\\n\\t\\t\\t\\t<img src=\"../images/erweima1.jpg\">\\n\\t\\t\\t</div>\\n\\t\\t\\t<div class=\"fer-er\">\\n\\t\\t\\t\\t<img src=\"../images/erweima2.jpg\">\\n\\t\\t\\t</div>\\n\\t\\t</div>\\n\\t\\t<div class=\"ferright\">\\n\\t\\t\\t<div>\\n\\t\\t\\t\\t<p>\\n\\t\\t\\t\\t\\t<span>地址：广州市从化区温泉大道882号广州南方学院</span>\\n\\t\\t\\t\\t\\t<span>邮编：510970</span>\\n\\t\\t\\t\\t</p>\\n\\t\\t\\t</div>\\n\\t\\t\\t<div class=\"addleft\">\\n\\t\\t\\t\\t<p>联系电话：020-61787368</p>\\n\\t\\t\\t\\t<p>版权所有 ©  广州南方学院</p>\\n\\t\\t\\t\\t<p>技术支持：<a href=\"https://www.gpowersoft.com/\" target=\"_blank\">Gpower 通元软件</a>\\n\\t\\t\\t\\t</p>\\n\\t\\t\\t</div>\\n\\t\\t\\t<div class=\"addright\">\\n\\t\\t\\t\\t<p>招生咨询：020-61787331</p> \\n\\t\\t\\t\\t<p>\\n\\t\\t\\t\\t\\t<span class=\"add-spante\">\\n\\t\\t\\t\\t\\t\\t<a target=\"_blank\" href=\"https://beian.miit.gov.cn/\">粤ICP备11077779号</a>\\n\\t\\t\\t\\t\\t</span> \\n\\t\\t\\t\\t\\t<span class=\"add-spante\">\\n\\t\\t\\t\\t\\t\\t<a href=\"http://tycms.nfu.edu.cn/cms/main\" target=\"_blank\">网站管理</a>&nbsp;&nbsp;\\n\\t\\t\\t\\t\\t\\t<a href=\"http://old.nfu.edu.cn/\" target=\"_blank\">旧站入口</a>\\n\\t\\t\\t\\t\\t</span>\\n\\t\\t\\t\\t</p>\\n\\t\\t\\t\\t\\n\\t\\t\\t</div>\\n\\t\\t</div>\\n\\t\\t\\n\\t\\t<div align=\"center\">\\n\\t\\t\\t<a target=\"_blank\" href=\"http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=44011702000081\" style=\"display:inline-block;text-decoration:none;height:20px;line-height:20px;\">\\n\\t\\t\\t\\t<img src=\"../images/icp.png\" style=\"float:left;\">\\n\\t\\t\\t\\t<p style=\"float:left;height:20px;line-height:20px;margin: 0px 0px 0px 5px; color:#ffffff;\">粤公网安备 44011702000081号</p>\\n\\t\\t\\t</a>\\n\\t\\t</div>\\n\\t</div>\\n</div>\\t\\t<!-- end 底部-->\\n\\n\\t\\t<script type=\"text/javascript\" language=\"javascript\">\\n\\t\\t\\t\\n    //加入收藏\\n    \\n    function AddFavorite(sURL, sTitle) {\\n    \\t\\n    \\tsURL = encodeURI(sURL); \\n    \\ttry{   \\n    \\t\\t\\n    \\t\\twindow.external.addFavorite(sURL, sTitle);   \\n    \\t\\t\\n    \\t}catch(e) {   \\n    \\t\\t\\n    \\t\\ttry{   \\n    \\t\\t\\t\\n    \\t\\t\\twindow.sidebar.addPanel(sTitle, sURL, \"\");   \\n    \\t\\t\\t\\n    \\t\\t}catch (e) {   \\n    \\t\\t\\t\\n    \\t\\t\\talert(\"加入收藏失败，请使用Ctrl+D进行添加,或手动在浏览器里进行设置.\");\\n    \\t\\t\\t\\n    \\t\\t}   \\n    \\t\\t\\n    \\t}\\n    \\t\\n    }\\n    \\n    //设为首页\\n    \\n    function SetHome(url){\\n    \\t\\n    \\tif (document.all) {\\n    \\t\\t\\n    \\t\\tdocument.body.style.behavior=\\'url(#default#homepage)\\';\\n    \\t\\t\\n    \\t\\tdocument.body.setHomePage(url);\\n    \\t\\t\\n    \\t}else{\\n    \\t\\t\\n    \\t\\talert(\"您好,您的浏览器不支持自动设置页面为首页功能,请您手动在浏览器里设置该页面为首页!\");\\n    \\t\\t\\n    \\t}\\n    \\t\\n    }\\n    \\n</script>\\n\\n\\n\\n</body></html><script type=\\'text/javascript\\' src=\\'../g_style/g_list.js\\'></script>\\n</body></html>'"
      ]
     },
     "execution_count": 12,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 读取保存备用的 _官网HTML文字档.html （可以读任何文字档）\n",
    "with open (\"xydt_官网HTML文字档.html\", encoding = \"utf8\", mode = \"r\") as fp:\n",
    "    html_load = fp.read()\n",
    "html_load  # 是字符串"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 使用parsed解析HTML，变成xpath可用数据"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<Element html at 0x26d5b5321d0>"
      ]
     },
     "execution_count": 13,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# parsed = requests_html.soup_parse(html_load)  使用方法\n",
    "# 使用soup_parse 解析HTML，将str变成xpath可使用数据 htmlelement\n",
    "解析后 = requests_html.soup_parse(html_load)  # html_load 为上方的字符串（html文字档）\n",
    "解析后  # 返回带有 <html> 元素标签"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "[<Element a at 0x26d5b532860>,\n",
       " <Element a at 0x26d5b5328b0>,\n",
       " <Element a at 0x26d5b532900>,\n",
       " <Element a at 0x26d5b532950>,\n",
       " <Element a at 0x26d5b5329a0>,\n",
       " <Element a at 0x26d5b5329f0>,\n",
       " <Element a at 0x26d5b532a40>,\n",
       " <Element a at 0x26d5b532a90>,\n",
       " <Element a at 0x26d5b532ae0>,\n",
       " <Element a at 0x26d5b532b30>,\n",
       " <Element a at 0x26d5b532b80>,\n",
       " <Element a at 0x26d5b532bd0>,\n",
       " <Element a at 0x26d5b532c20>,\n",
       " <Element a at 0x26d5b532c70>,\n",
       " <Element a at 0x26d5b532cc0>,\n",
       " <Element a at 0x26d5b532d10>,\n",
       " <Element a at 0x26d5b532d60>,\n",
       " <Element a at 0x26d5b532db0>,\n",
       " <Element a at 0x26d5b532e00>,\n",
       " <Element a at 0x26d5b532e50>,\n",
       " <Element a at 0x26d5b532ea0>,\n",
       " <Element a at 0x26d5b532ef0>,\n",
       " <Element a at 0x26d5b532f40>,\n",
       " <Element a at 0x26d5b532f90>,\n",
       " <Element a at 0x26d5b548040>,\n",
       " <Element a at 0x26d5b548090>,\n",
       " <Element a at 0x26d5b5480e0>,\n",
       " <Element a at 0x26d5b548130>,\n",
       " <Element a at 0x26d5b548180>,\n",
       " <Element a at 0x26d5b5481d0>,\n",
       " <Element a at 0x26d5b548220>,\n",
       " <Element a at 0x26d5b548270>,\n",
       " <Element a at 0x26d5b5482c0>,\n",
       " <Element a at 0x26d5b548310>,\n",
       " <Element a at 0x26d5b548360>,\n",
       " <Element a at 0x26d5b5483b0>,\n",
       " <Element a at 0x26d5b548400>,\n",
       " <Element a at 0x26d5b548450>,\n",
       " <Element a at 0x26d5b5484a0>,\n",
       " <Element a at 0x26d5b5484f0>,\n",
       " <Element a at 0x26d5b548540>,\n",
       " <Element a at 0x26d5b548590>,\n",
       " <Element a at 0x26d5b5485e0>,\n",
       " <Element a at 0x26d5b548630>,\n",
       " <Element a at 0x26d5b548680>,\n",
       " <Element a at 0x26d5b5486d0>,\n",
       " <Element a at 0x26d5b548720>,\n",
       " <Element a at 0x26d5b548770>,\n",
       " <Element a at 0x26d5b5487c0>,\n",
       " <Element a at 0x26d5b548810>,\n",
       " <Element a at 0x26d5b548860>,\n",
       " <Element a at 0x26d5b5488b0>,\n",
       " <Element a at 0x26d5b548900>,\n",
       " <Element a at 0x26d5b548950>,\n",
       " <Element a at 0x26d5b5489a0>,\n",
       " <Element a at 0x26d5b5489f0>,\n",
       " <Element a at 0x26d5b548a40>,\n",
       " <Element a at 0x26d5b548a90>,\n",
       " <Element a at 0x26d5b548ae0>,\n",
       " <Element a at 0x26d5b548b30>,\n",
       " <Element a at 0x26d5b548b80>,\n",
       " <Element a at 0x26d5b548bd0>,\n",
       " <Element a at 0x26d5b548c20>,\n",
       " <Element a at 0x26d5b548c70>,\n",
       " <Element a at 0x26d5b548cc0>,\n",
       " <Element a at 0x26d5b548d10>,\n",
       " <Element a at 0x26d5b548d60>,\n",
       " <Element a at 0x26d5b548db0>,\n",
       " <Element a at 0x26d5b548e00>,\n",
       " <Element a at 0x26d5b548e50>,\n",
       " <Element a at 0x26d5b548ea0>,\n",
       " <Element a at 0x26d5b548ef0>,\n",
       " <Element a at 0x26d5b548f40>,\n",
       " <Element a at 0x26d5b548f90>,\n",
       " <Element a at 0x26d5b549040>,\n",
       " <Element a at 0x26d5b549090>,\n",
       " <Element a at 0x26d5b5490e0>,\n",
       " <Element a at 0x26d5b549130>,\n",
       " <Element a at 0x26d5b549180>,\n",
       " <Element a at 0x26d5b5491d0>,\n",
       " <Element a at 0x26d5b549220>]"
      ]
     },
     "execution_count": 14,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 解析后可使用xpath 方法  举例\n",
    "解析后.xpath('//a')  # greedy 所有<html> 元素标签"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 使用 xpath，获取想要的数据\n",
    "* xpath方法：https://www.w3school.com.cn/xpath/xpath_syntax.asp"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 15,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "['【国奖映像】苏绮筠：让优秀成为习惯',\n",
       " '【国奖映像】陈宇：心怀热爱，奔赴梦想',\n",
       " '护理与健康学院2020-2021第二学期团员培训课程第2讲圆满结束',\n",
       " '护理与健康学院2020-2021年度第二学期3月份团支部委员会顺利举行',\n",
       " '商学院电子商务专业召开申请调整学位授予学科门类 专家评审会',\n",
       " '会计学院大一年级大会顺利召开',\n",
       " '广州新华学院会计学院刘运国院长一行莅临我院访问',\n",
       " '【国奖映像】蒋晓琳：明确目标，为之努力',\n",
       " '励能计划2021：你选哪一项？',\n",
       " '党团同行传薪火，红色循迹筑初心——商学院党团同行重走“东江纵队”红色之路',\n",
       " '广州南方学院老年与慢病护理研究中心学术沙龙系列第3期圆满结束',\n",
       " '凝心聚力 共谱新篇——商学院召开新学期全体教职工大会',\n",
       " '青马工程｜“回首峥嵘岁月，领悟红船精神”——商学院百年党史宣讲活动',\n",
       " '护理与健康学院“教学相长，从教学中成长”暨青年教师专题讲座与交流活动圆满结束',\n",
       " '党建观摩拓思路，对照标杆“取真经”——我校商学院师生团队赴广东外语外贸大学南国商学院管理学院进行党建工作交流学习',\n",
       " '护理与健康学院直属党支部2021年春季入党积极分子培训圆满结束',\n",
       " '成长在文传我院举行2021年春季学期全体教职工大会',\n",
       " '“远离糖尿病，筑起健康防线” 护理与健康学院寒假社会实践调查成果汇报展示圆满结束',\n",
       " '倾心指导促研学，凝心聚力谋发展——大英中心教学研究座谈会顺利召开',\n",
       " '护理与健康学院第37期师生面对面顺利开展']"
      ]
     },
     "execution_count": 15,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 获取标题\n",
    "# xpath 路径：/html/body/div[4]/div/div[2]/div[2]/ul/li[1]/div\n",
    "标题 = r.html.xpath('//div[@class=\"news_title\"]/a/@title')\n",
    "标题"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 16,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "['2021-04-09',\n",
       " '2021-04-09',\n",
       " '2021-04-09',\n",
       " '2021-04-09',\n",
       " '2021-04-07',\n",
       " '2021-04-06',\n",
       " '2021-04-06',\n",
       " '2021-04-02',\n",
       " '2021-04-02',\n",
       " '2021-04-02',\n",
       " '2021-04-02',\n",
       " '2021-04-01',\n",
       " '2021-04-01',\n",
       " '2021-04-01',\n",
       " '2021-03-30',\n",
       " '2021-03-30',\n",
       " '2021-03-29',\n",
       " '2021-03-29',\n",
       " '2021-03-26',\n",
       " '2021-03-26']"
      ]
     },
     "execution_count": 16,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 获取日期\n",
    "日期 = r.html.xpath('//font[@class=\"right-more\"]/text()')\n",
    "日期"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 17,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "['7dfe6fcd15fd495597cbd282de863733.htm',\n",
       " '09627d3243ee4578ac69be2881abd8b3.htm',\n",
       " 'debea203b0c84a3092e6b5416cc4c2f1.htm',\n",
       " '9ec16bf90e164071b68a57332c5fe020.htm',\n",
       " 'cf4420785b9046e99851413a1fb1b6f7.htm',\n",
       " '16f4c5f4bd284caebfe79cd5d66e288b.htm',\n",
       " '935f580040704990a4e396fa8091ee30.htm',\n",
       " '9611d110ec8a486587ab4020171ee9f5.htm',\n",
       " '8b2414ee7cca45d88c4217dd13f8f8ec.htm',\n",
       " 'a9523b72a34e4143afa9b38879ecba0c.htm',\n",
       " 'f8434c9f092348c2a4a3c1ac8727a8fd.htm',\n",
       " 'd60d33983337463390ef99385afce119.htm',\n",
       " '4b0c8e69b5074d28badd20cb55436009.htm',\n",
       " 'bdda4dfbda944a3eb84612b7045620f4.htm',\n",
       " '96e05388e3fa43de9a8f446b083875f8.htm',\n",
       " '25dc7cb574284be18a6c9a0640e5aca3.htm',\n",
       " 'b9777111c2194e7b85143431ab4706a7.htm',\n",
       " '2f3dcc0f4400419e8e42af09fde3c251.htm',\n",
       " 'c3846031b4c0444a99e0dfd90047c046.htm',\n",
       " '5e165fdaee834899891ba5b3eea69bc9.htm']"
      ]
     },
     "execution_count": 17,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 获取链接，没有域名信息\n",
    "r.html.xpath('//div[@class=\"news_title\"]/a/@href')  # 链接没有域名信息"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 将链接进行解析和重塑"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 18,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "ParseResult(scheme='https', netloc='www.nfu.edu.cn', path='/xydt/index.htm', params='', query='', fragment='')"
      ]
     },
     "execution_count": 18,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 解析链接，看组成部分\n",
    "base_url = r.url\n",
    "nfu_urlparse = urllib.parse.urlparse(base_url)\n",
    "nfu_urlparse"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 19,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'https://www.nfu.edu.cn/xydt/0d7bd841484a42a69d241e79365b6290.htm'"
      ]
     },
     "execution_count": 19,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 先尝试重组一条链接\n",
    "urllib.parse.urlunparse([nfu_urlparse.scheme,nfu_urlparse.netloc,'/'+ nfu_urlparse.path.split('/')[1] +'/' + '0d7bd841484a42a69d241e79365b6290.htm','','',''])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 20,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "['https://www.nfu.edu.cn/xydt/7dfe6fcd15fd495597cbd282de863733.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/09627d3243ee4578ac69be2881abd8b3.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/debea203b0c84a3092e6b5416cc4c2f1.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/9ec16bf90e164071b68a57332c5fe020.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/cf4420785b9046e99851413a1fb1b6f7.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/16f4c5f4bd284caebfe79cd5d66e288b.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/935f580040704990a4e396fa8091ee30.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/9611d110ec8a486587ab4020171ee9f5.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/8b2414ee7cca45d88c4217dd13f8f8ec.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/a9523b72a34e4143afa9b38879ecba0c.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/f8434c9f092348c2a4a3c1ac8727a8fd.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/d60d33983337463390ef99385afce119.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/4b0c8e69b5074d28badd20cb55436009.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/bdda4dfbda944a3eb84612b7045620f4.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/96e05388e3fa43de9a8f446b083875f8.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/25dc7cb574284be18a6c9a0640e5aca3.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/b9777111c2194e7b85143431ab4706a7.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/2f3dcc0f4400419e8e42af09fde3c251.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/c3846031b4c0444a99e0dfd90047c046.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/5e165fdaee834899891ba5b3eea69bc9.htm']"
      ]
     },
     "execution_count": 20,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 批量重组链接\n",
    "r.html.xpath('//div[@class=\"news_title\"]/a/@href')\n",
    "\n",
    "list_URL  = [urllib.parse.urlunparse\\\n",
    "([nfu_urlparse.scheme,nfu_urlparse.netloc,'/'+ nfu_urlparse.path.split('/')[1] +'/' + detail_url,'','',''])\\\n",
    "for detail_url in r.html.xpath('//div[@class=\"news_title\"]/a/@href')]\n",
    "list_URL"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 将获取的数据使用表格结构DataFrame显示 "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 21,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>标题</th>\n",
       "      <th>链接</th>\n",
       "      <th>日期</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>【国奖映像】苏绮筠：让优秀成为习惯</td>\n",
       "      <td>https://www.nfu.edu.cn/xydt/7dfe6fcd15fd495597...</td>\n",
       "      <td>2021-04-09</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>【国奖映像】陈宇：心怀热爱，奔赴梦想</td>\n",
       "      <td>https://www.nfu.edu.cn/xydt/09627d3243ee4578ac...</td>\n",
       "      <td>2021-04-09</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>护理与健康学院2020-2021第二学期团员培训课程第2讲圆满结束</td>\n",
       "      <td>https://www.nfu.edu.cn/xydt/debea203b0c84a3092...</td>\n",
       "      <td>2021-04-09</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>护理与健康学院2020-2021年度第二学期3月份团支部委员会顺利举行</td>\n",
       "      <td>https://www.nfu.edu.cn/xydt/9ec16bf90e164071b6...</td>\n",
       "      <td>2021-04-09</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>商学院电子商务专业召开申请调整学位授予学科门类 专家评审会</td>\n",
       "      <td>https://www.nfu.edu.cn/xydt/cf4420785b9046e998...</td>\n",
       "      <td>2021-04-07</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>会计学院大一年级大会顺利召开</td>\n",
       "      <td>https://www.nfu.edu.cn/xydt/16f4c5f4bd284caebf...</td>\n",
       "      <td>2021-04-06</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>广州新华学院会计学院刘运国院长一行莅临我院访问</td>\n",
       "      <td>https://www.nfu.edu.cn/xydt/935f580040704990a4...</td>\n",
       "      <td>2021-04-06</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>【国奖映像】蒋晓琳：明确目标，为之努力</td>\n",
       "      <td>https://www.nfu.edu.cn/xydt/9611d110ec8a486587...</td>\n",
       "      <td>2021-04-02</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>励能计划2021：你选哪一项？</td>\n",
       "      <td>https://www.nfu.edu.cn/xydt/8b2414ee7cca45d88c...</td>\n",
       "      <td>2021-04-02</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>党团同行传薪火，红色循迹筑初心——商学院党团同行重走“东江纵队”红色之路</td>\n",
       "      <td>https://www.nfu.edu.cn/xydt/a9523b72a34e4143af...</td>\n",
       "      <td>2021-04-02</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>广州南方学院老年与慢病护理研究中心学术沙龙系列第3期圆满结束</td>\n",
       "      <td>https://www.nfu.edu.cn/xydt/f8434c9f092348c2a4...</td>\n",
       "      <td>2021-04-02</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>凝心聚力 共谱新篇——商学院召开新学期全体教职工大会</td>\n",
       "      <td>https://www.nfu.edu.cn/xydt/d60d33983337463390...</td>\n",
       "      <td>2021-04-01</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>青马工程｜“回首峥嵘岁月，领悟红船精神”——商学院百年党史宣讲活动</td>\n",
       "      <td>https://www.nfu.edu.cn/xydt/4b0c8e69b5074d28ba...</td>\n",
       "      <td>2021-04-01</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>护理与健康学院“教学相长，从教学中成长”暨青年教师专题讲座与交流活动圆满结束</td>\n",
       "      <td>https://www.nfu.edu.cn/xydt/bdda4dfbda944a3eb8...</td>\n",
       "      <td>2021-04-01</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>党建观摩拓思路，对照标杆“取真经”——我校商学院师生团队赴广东外语外贸大学南国商学院管理学院...</td>\n",
       "      <td>https://www.nfu.edu.cn/xydt/96e05388e3fa43de9a...</td>\n",
       "      <td>2021-03-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>护理与健康学院直属党支部2021年春季入党积极分子培训圆满结束</td>\n",
       "      <td>https://www.nfu.edu.cn/xydt/25dc7cb574284be18a...</td>\n",
       "      <td>2021-03-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>成长在文传我院举行2021年春季学期全体教职工大会</td>\n",
       "      <td>https://www.nfu.edu.cn/xydt/b9777111c2194e7b85...</td>\n",
       "      <td>2021-03-29</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>“远离糖尿病，筑起健康防线” 护理与健康学院寒假社会实践调查成果汇报展示圆满结束</td>\n",
       "      <td>https://www.nfu.edu.cn/xydt/2f3dcc0f4400419e8e...</td>\n",
       "      <td>2021-03-29</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>倾心指导促研学，凝心聚力谋发展——大英中心教学研究座谈会顺利召开</td>\n",
       "      <td>https://www.nfu.edu.cn/xydt/c3846031b4c0444a99...</td>\n",
       "      <td>2021-03-26</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>护理与健康学院第37期师生面对面顺利开展</td>\n",
       "      <td>https://www.nfu.edu.cn/xydt/5e165fdaee83489989...</td>\n",
       "      <td>2021-03-26</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                                                   标题  \\\n",
       "0                                   【国奖映像】苏绮筠：让优秀成为习惯   \n",
       "1                                  【国奖映像】陈宇：心怀热爱，奔赴梦想   \n",
       "2                   护理与健康学院2020-2021第二学期团员培训课程第2讲圆满结束   \n",
       "3                 护理与健康学院2020-2021年度第二学期3月份团支部委员会顺利举行   \n",
       "4                       商学院电子商务专业召开申请调整学位授予学科门类 专家评审会   \n",
       "5                                      会计学院大一年级大会顺利召开   \n",
       "6                             广州新华学院会计学院刘运国院长一行莅临我院访问   \n",
       "7                                 【国奖映像】蒋晓琳：明确目标，为之努力   \n",
       "8                                     励能计划2021：你选哪一项？   \n",
       "9                党团同行传薪火，红色循迹筑初心——商学院党团同行重走“东江纵队”红色之路   \n",
       "10                     广州南方学院老年与慢病护理研究中心学术沙龙系列第3期圆满结束   \n",
       "11                         凝心聚力 共谱新篇——商学院召开新学期全体教职工大会   \n",
       "12                  青马工程｜“回首峥嵘岁月，领悟红船精神”——商学院百年党史宣讲活动   \n",
       "13             护理与健康学院“教学相长，从教学中成长”暨青年教师专题讲座与交流活动圆满结束   \n",
       "14  党建观摩拓思路，对照标杆“取真经”——我校商学院师生团队赴广东外语外贸大学南国商学院管理学院...   \n",
       "15                    护理与健康学院直属党支部2021年春季入党积极分子培训圆满结束   \n",
       "16                          成长在文传我院举行2021年春季学期全体教职工大会   \n",
       "17           “远离糖尿病，筑起健康防线” 护理与健康学院寒假社会实践调查成果汇报展示圆满结束   \n",
       "18                   倾心指导促研学，凝心聚力谋发展——大英中心教学研究座谈会顺利召开   \n",
       "19                               护理与健康学院第37期师生面对面顺利开展   \n",
       "\n",
       "                                                   链接          日期  \n",
       "0   https://www.nfu.edu.cn/xydt/7dfe6fcd15fd495597...  2021-04-09  \n",
       "1   https://www.nfu.edu.cn/xydt/09627d3243ee4578ac...  2021-04-09  \n",
       "2   https://www.nfu.edu.cn/xydt/debea203b0c84a3092...  2021-04-09  \n",
       "3   https://www.nfu.edu.cn/xydt/9ec16bf90e164071b6...  2021-04-09  \n",
       "4   https://www.nfu.edu.cn/xydt/cf4420785b9046e998...  2021-04-07  \n",
       "5   https://www.nfu.edu.cn/xydt/16f4c5f4bd284caebf...  2021-04-06  \n",
       "6   https://www.nfu.edu.cn/xydt/935f580040704990a4...  2021-04-06  \n",
       "7   https://www.nfu.edu.cn/xydt/9611d110ec8a486587...  2021-04-02  \n",
       "8   https://www.nfu.edu.cn/xydt/8b2414ee7cca45d88c...  2021-04-02  \n",
       "9   https://www.nfu.edu.cn/xydt/a9523b72a34e4143af...  2021-04-02  \n",
       "10  https://www.nfu.edu.cn/xydt/f8434c9f092348c2a4...  2021-04-02  \n",
       "11  https://www.nfu.edu.cn/xydt/d60d33983337463390...  2021-04-01  \n",
       "12  https://www.nfu.edu.cn/xydt/4b0c8e69b5074d28ba...  2021-04-01  \n",
       "13  https://www.nfu.edu.cn/xydt/bdda4dfbda944a3eb8...  2021-04-01  \n",
       "14  https://www.nfu.edu.cn/xydt/96e05388e3fa43de9a...  2021-03-30  \n",
       "15  https://www.nfu.edu.cn/xydt/25dc7cb574284be18a...  2021-03-30  \n",
       "16  https://www.nfu.edu.cn/xydt/b9777111c2194e7b85...  2021-03-29  \n",
       "17  https://www.nfu.edu.cn/xydt/2f3dcc0f4400419e8e...  2021-03-29  \n",
       "18  https://www.nfu.edu.cn/xydt/c3846031b4c0444a99...  2021-03-26  \n",
       "19  https://www.nfu.edu.cn/xydt/5e165fdaee83489989...  2021-03-26  "
      ]
     },
     "execution_count": 21,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# pd.DataFrame 建构\n",
    "df = pd.DataFrame( {\n",
    "         \"标题\": r.html.xpath('//div[@class=\"news_title\"]/a/@title'),\n",
    "         \"链接\": list_URL,\n",
    "         \"日期\": r.html.xpath('//font[@class=\"right-more\"]/text()'),\n",
    "     } )\n",
    "df"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 实现翻页\n",
    "* 解析链接，找规律,猜最后一页是多少"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 22,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://www.nfu.edu.cn/xydt/index.htm\n",
      "https://www.nfu.edu.cn/xydt/index2.htm\n"
     ]
    }
   ],
   "source": [
    "# 查看第一条和第二条链接找规律\n",
    "url_01=r.url\n",
    "url_02=session.get('https://www.nfu.edu.cn/xydt/index2.htm').url\n",
    "print(url_01)\n",
    "print(url_02)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 23,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "85\n"
     ]
    }
   ],
   "source": [
    "# 查看有几页，假设的数字可以大一点\n",
    "for i in range(1,100):\n",
    "    r = session.get('https://www.nfu.edu.cn/xydt/index'+str(i)+'.htm')\n",
    "#    print(r.ststus_code)\n",
    "    if r.status_code != 200:\n",
    "        print(i)\n",
    "        break"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 24,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "['https://www.nfu.edu.cn/xydt/index1.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/index2.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/index3.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/index4.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/index5.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/index6.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/index7.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/index8.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/index9.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/index10.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/index11.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/index12.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/index13.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/index14.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/index15.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/index16.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/index17.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/index18.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/index19.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/index20.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/index21.htm']"
      ]
     },
     "execution_count": 24,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 得出一共有89翻页，整合这些链接，没有包括第一页\n",
    "url_xydt_group = ['https://www.nfu.edu.cn/xydt/index'+str(i)+'.htm' for i in range(1,22)]\n",
    "url_xydt_group"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 25,
   "metadata": {
    "scrolled": true
   },
   "outputs": [],
   "source": [
    "# insert增加首页链接\n",
    "url_xydt_group.insert(0,'https://www.nfu.edu.cn/xydt/index.htm')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 26,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "['https://www.nfu.edu.cn/xydt/index.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/index1.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/index2.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/index3.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/index4.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/index5.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/index6.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/index7.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/index8.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/index9.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/index10.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/index11.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/index12.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/index13.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/index14.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/index15.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/index16.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/index17.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/index18.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/index19.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/index20.htm',\n",
       " 'https://www.nfu.edu.cn/xydt/index21.htm']"
      ]
     },
     "execution_count": 26,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 看看最终url链接\n",
    "url_xydt_group"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 将所有数据批量存储"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 42,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 1、先批量存储为html文件\n",
    "for url in url_xydt_group:\n",
    "    r = session.get(url)\n",
    "\n",
    "# 设置存档html的名称\n",
    "    path = urllib.parse.urlparse(url).path\n",
    "    with open ('html_out/'+path, encoding = \"utf8\", mode = \"w\") as fp:\n",
    "        fp.write(r.html.html)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 43,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "['index.htm', 'index1.htm', 'index10.htm', 'index11.htm', 'index12.htm', 'index13.htm', 'index14.htm', 'index15.htm', 'index16.htm', 'index17.htm', 'index18.htm', 'index19.htm', 'index2.htm', 'index20.htm', 'index21.htm', 'index22.htm', 'index23.htm', 'index24.htm', 'index25.htm', 'index26.htm', 'index27.htm', 'index28.htm', 'index29.htm', 'index3.htm', 'index30.htm', 'index31.htm', 'index32.htm', 'index33.htm', 'index34.htm', 'index35.htm', 'index36.htm', 'index37.htm', 'index38.htm', 'index39.htm', 'index4.htm', 'index40.htm', 'index41.htm', 'index42.htm', 'index43.htm', 'index44.htm', 'index45.htm', 'index46.htm', 'index47.htm', 'index48.htm', 'index49.htm', 'index5.htm', 'index50.htm', 'index51.htm', 'index52.htm', 'index53.htm', 'index54.htm', 'index55.htm', 'index56.htm', 'index57.htm', 'index58.htm', 'index59.htm', 'index6.htm', 'index60.htm', 'index61.htm', 'index62.htm', 'index63.htm', 'index64.htm', 'index65.htm', 'index66.htm', 'index67.htm', 'index68.htm', 'index69.htm', 'index7.htm', 'index70.htm', 'index71.htm', 'index72.htm', 'index73.htm', 'index74.htm', 'index75.htm', 'index76.htm', 'index77.htm', 'index78.htm', 'index79.htm', 'index8.htm', 'index80.htm', 'index81.htm', 'index82.htm', 'index83.htm', 'index84.htm', 'index85.htm', 'index86.htm', 'index87.htm', 'index88.htm', 'index89.htm', 'index9.htm']\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>标题</th>\n",
       "      <th>链接</th>\n",
       "      <th>日期</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>“不忘初心，牢记使命”主题教育之——商学院党总支2019年秋季“预备党员转正暨接收预备党员通...</td>\n",
       "      <td>https://www.nfu.edu.cn/xydt/c5ea8b486f33438291...</td>\n",
       "      <td>2019-11-19</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>成都电子科技大学荣智海教授莅临我校进行学术交流</td>\n",
       "      <td>https://www.nfu.edu.cn/xydt/2a6f1177e30149e9bc...</td>\n",
       "      <td>2019-11-18</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>“岭南班”选拔进行时——岭南集团人力资源部（党委组织部）总经理蒋丽红一行到我院洽谈“岭南班”...</td>\n",
       "      <td>https://www.nfu.edu.cn/xydt/43b258ab699140fba5...</td>\n",
       "      <td>2019-11-18</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>护理与健康学院教工党支部“不忘初心、牢记使命“主题教育 ——“向英雄致敬、向先进学习、向榜样...</td>\n",
       "      <td>https://www.nfu.edu.cn/xydt/bb22ce54780c42bca8...</td>\n",
       "      <td>2019-11-18</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>电气学院教师参加人工智能数据分析师认证培训班</td>\n",
       "      <td>https://www.nfu.edu.cn/xydt/d6f41d3a7ae745929b...</td>\n",
       "      <td>2019-11-18</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>“不忘初心、牢记使命”会计学院党总支2019年秋季入党积极分子户外素质拓展活动顺利开展</td>\n",
       "      <td>https://www.nfu.edu.cn/xydt/0f04dd9e234141fe84...</td>\n",
       "      <td>2019-11-11</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>藏在儿化音里的韵味——南院书香读书季之“言语魅力方言秀”顺利开展</td>\n",
       "      <td>https://www.nfu.edu.cn/xydt/1338e5b89438479180...</td>\n",
       "      <td>2019-11-11</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>答疑解惑明方向 探讨交流出真知——会计学院2019级学习经验分享会顺利举办</td>\n",
       "      <td>https://www.nfu.edu.cn/xydt/2a7c129b8a064e098e...</td>\n",
       "      <td>2019-11-11</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>“不忘初心，牢记使命”主题教育之——商学院学生第二党支部“青春我要跟党走”韶关坪石研学</td>\n",
       "      <td>https://www.nfu.edu.cn/xydt/37b2b2402b924211b6...</td>\n",
       "      <td>2019-11-11</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>后勤部门落实“不忘初心、牢记使命” 主题教育—开展后勤服务调研、专题党课活动</td>\n",
       "      <td>https://www.nfu.edu.cn/xydt/45b9d62613c8454485...</td>\n",
       "      <td>2019-11-11</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>马克思主义青年说（复赛）圆满成功！</td>\n",
       "      <td>https://www.nfu.edu.cn/xydt/800a75f8fe8b4a169e...</td>\n",
       "      <td>2019-11-11</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>电气学院举办课程建设持续改进汇报会(第一期)</td>\n",
       "      <td>https://www.nfu.edu.cn/xydt/8afde32f5d7945f69e...</td>\n",
       "      <td>2019-11-11</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>电气与计算机工程学院2019年秋季发展对象开展“不忘初心，牢记使命”主题教育讨论分享会</td>\n",
       "      <td>https://www.nfu.edu.cn/xydt/942ab0b003ad4d34b8...</td>\n",
       "      <td>2019-11-11</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>电气与计算机工程学院2019年秋季发展对象“不忘初心、牢记使命”主题教育系列活动之志愿服务活动</td>\n",
       "      <td>https://www.nfu.edu.cn/xydt/b5b98e6f516e49ad8e...</td>\n",
       "      <td>2019-11-11</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>电气与计算机工程学院组织2019级新生观看“微”团课视频——《 入团第一课》第一讲</td>\n",
       "      <td>https://www.nfu.edu.cn/xydt/c32ec693e94a43af8a...</td>\n",
       "      <td>2019-11-11</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>电气与计算机工程学院党总支“不忘初心、牢记使命”主题教育系列活动——观看电影《我和我的祖国》</td>\n",
       "      <td>https://www.nfu.edu.cn/xydt/d12a53fdaf9e4252a4...</td>\n",
       "      <td>2019-11-11</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>攀藤附葛君须计 万载梅关著劫灰 ——机关党总支赴城口开展“不忘初心，牢记使命”主题教育活动</td>\n",
       "      <td>https://www.nfu.edu.cn/xydt/8fab2f8b744f4435ba...</td>\n",
       "      <td>2019-11-07</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>扬帆把舵，奋力拼搏| 英国龙比亚大学宣讲会顺利开展</td>\n",
       "      <td>https://www.nfu.edu.cn/xydt/54a558037dfb40a2af...</td>\n",
       "      <td>2019-11-05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>“说到从化不想来，来了从化不想走” ——政商名师讲座之“我和从化的故事”精彩回顾</td>\n",
       "      <td>https://www.nfu.edu.cn/xydt/dc131b1d80874777bb...</td>\n",
       "      <td>2019-11-05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>志在千里 壮心不已 ——英国赫尔大学宣讲会成功举办</td>\n",
       "      <td>https://www.nfu.edu.cn/xydt/ef7d375ba6be47c191...</td>\n",
       "      <td>2019-11-05</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                                                   标题  \\\n",
       "0   “不忘初心，牢记使命”主题教育之——商学院党总支2019年秋季“预备党员转正暨接收预备党员通...   \n",
       "1                             成都电子科技大学荣智海教授莅临我校进行学术交流   \n",
       "2   “岭南班”选拔进行时——岭南集团人力资源部（党委组织部）总经理蒋丽红一行到我院洽谈“岭南班”...   \n",
       "3   护理与健康学院教工党支部“不忘初心、牢记使命“主题教育 ——“向英雄致敬、向先进学习、向榜样...   \n",
       "4                              电气学院教师参加人工智能数据分析师认证培训班   \n",
       "5         “不忘初心、牢记使命”会计学院党总支2019年秋季入党积极分子户外素质拓展活动顺利开展   \n",
       "6                    藏在儿化音里的韵味——南院书香读书季之“言语魅力方言秀”顺利开展   \n",
       "7               答疑解惑明方向 探讨交流出真知——会计学院2019级学习经验分享会顺利举办   \n",
       "8         “不忘初心，牢记使命”主题教育之——商学院学生第二党支部“青春我要跟党走”韶关坪石研学   \n",
       "9              后勤部门落实“不忘初心、牢记使命” 主题教育—开展后勤服务调研、专题党课活动   \n",
       "10                                  马克思主义青年说（复赛）圆满成功！   \n",
       "11                             电气学院举办课程建设持续改进汇报会(第一期)   \n",
       "12        电气与计算机工程学院2019年秋季发展对象开展“不忘初心，牢记使命”主题教育讨论分享会   \n",
       "13    电气与计算机工程学院2019年秋季发展对象“不忘初心、牢记使命”主题教育系列活动之志愿服务活动   \n",
       "14          电气与计算机工程学院组织2019级新生观看“微”团课视频——《 入团第一课》第一讲   \n",
       "15     电气与计算机工程学院党总支“不忘初心、牢记使命”主题教育系列活动——观看电影《我和我的祖国》   \n",
       "16      攀藤附葛君须计 万载梅关著劫灰 ——机关党总支赴城口开展“不忘初心，牢记使命”主题教育活动   \n",
       "17                          扬帆把舵，奋力拼搏| 英国龙比亚大学宣讲会顺利开展   \n",
       "18           “说到从化不想来，来了从化不想走” ——政商名师讲座之“我和从化的故事”精彩回顾   \n",
       "19                          志在千里 壮心不已 ——英国赫尔大学宣讲会成功举办   \n",
       "\n",
       "                                                   链接          日期  \n",
       "0   https://www.nfu.edu.cn/xydt/c5ea8b486f33438291...  2019-11-19  \n",
       "1   https://www.nfu.edu.cn/xydt/2a6f1177e30149e9bc...  2019-11-18  \n",
       "2   https://www.nfu.edu.cn/xydt/43b258ab699140fba5...  2019-11-18  \n",
       "3   https://www.nfu.edu.cn/xydt/bb22ce54780c42bca8...  2019-11-18  \n",
       "4   https://www.nfu.edu.cn/xydt/d6f41d3a7ae745929b...  2019-11-18  \n",
       "5   https://www.nfu.edu.cn/xydt/0f04dd9e234141fe84...  2019-11-11  \n",
       "6   https://www.nfu.edu.cn/xydt/1338e5b89438479180...  2019-11-11  \n",
       "7   https://www.nfu.edu.cn/xydt/2a7c129b8a064e098e...  2019-11-11  \n",
       "8   https://www.nfu.edu.cn/xydt/37b2b2402b924211b6...  2019-11-11  \n",
       "9   https://www.nfu.edu.cn/xydt/45b9d62613c8454485...  2019-11-11  \n",
       "10  https://www.nfu.edu.cn/xydt/800a75f8fe8b4a169e...  2019-11-11  \n",
       "11  https://www.nfu.edu.cn/xydt/8afde32f5d7945f69e...  2019-11-11  \n",
       "12  https://www.nfu.edu.cn/xydt/942ab0b003ad4d34b8...  2019-11-11  \n",
       "13  https://www.nfu.edu.cn/xydt/b5b98e6f516e49ad8e...  2019-11-11  \n",
       "14  https://www.nfu.edu.cn/xydt/c32ec693e94a43af8a...  2019-11-11  \n",
       "15  https://www.nfu.edu.cn/xydt/d12a53fdaf9e4252a4...  2019-11-11  \n",
       "16  https://www.nfu.edu.cn/xydt/8fab2f8b744f4435ba...  2019-11-07  \n",
       "17  https://www.nfu.edu.cn/xydt/54a558037dfb40a2af...  2019-11-05  \n",
       "18  https://www.nfu.edu.cn/xydt/dc131b1d80874777bb...  2019-11-05  \n",
       "19  https://www.nfu.edu.cn/xydt/ef7d375ba6be47c191...  2019-11-05  "
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "# 2、循环遍历出结果\n",
    "import os\n",
    "\n",
    "list_df = []\n",
    "\n",
    "# 取出某文件夹中的文件的名称，组成列表，要自己先建文件夹\n",
    "files= os.listdir('html_out/xydt/')\n",
    "print(files)\n",
    "\n",
    "for html in files:\n",
    "    with open('html_out/xydt/'+html,encoding='utf8',mode='r') as fp:\n",
    "        html_load = fp.read()\n",
    "        parsed = requests_html.soup_parse(html_load)\n",
    "        # 准备链接\n",
    "        list_URL = [urllib.parse.urlunparse\\\n",
    "([nfu_urlparse.scheme,nfu_urlparse.netloc,'/'+ nfu_urlparse.path.split('/')[1] +'/' + detail_url,'','',''])\\\n",
    "for detail_url in r.html.xpath('//div[@class=\"news_title\"]/a/@href')]\n",
    "        \n",
    "        df = pd.DataFrame( {\n",
    "         \"标题\": r.html.xpath('//div[@class=\"news_title\"]/a/@title'),\n",
    "         \"链接\": list_URL,\n",
    "         \"日期\": r.html.xpath('//font[@class=\"right-more\"]/text()'),\n",
    "     } )\n",
    "        list_df.append(df)\n",
    "display(df)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 44,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>index</th>\n",
       "      <th>标题</th>\n",
       "      <th>链接</th>\n",
       "      <th>日期</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>0</td>\n",
       "      <td>“不忘初心，牢记使命”主题教育之——商学院党总支2019年秋季“预备党员转正暨接收预备党员通...</td>\n",
       "      <td>https://www.nfu.edu.cn/xydt/c5ea8b486f33438291...</td>\n",
       "      <td>2019-11-19</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>720</th>\n",
       "      <td>0</td>\n",
       "      <td>“不忘初心，牢记使命”主题教育之——商学院党总支2019年秋季“预备党员转正暨接收预备党员通...</td>\n",
       "      <td>https://www.nfu.edu.cn/xydt/c5ea8b486f33438291...</td>\n",
       "      <td>2019-11-19</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>560</th>\n",
       "      <td>0</td>\n",
       "      <td>“不忘初心，牢记使命”主题教育之——商学院党总支2019年秋季“预备党员转正暨接收预备党员通...</td>\n",
       "      <td>https://www.nfu.edu.cn/xydt/c5ea8b486f33438291...</td>\n",
       "      <td>2019-11-19</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>580</th>\n",
       "      <td>0</td>\n",
       "      <td>“不忘初心，牢记使命”主题教育之——商学院党总支2019年秋季“预备党员转正暨接收预备党员通...</td>\n",
       "      <td>https://www.nfu.edu.cn/xydt/c5ea8b486f33438291...</td>\n",
       "      <td>2019-11-19</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>600</th>\n",
       "      <td>0</td>\n",
       "      <td>“不忘初心，牢记使命”主题教育之——商学院党总支2019年秋季“预备党员转正暨接收预备党员通...</td>\n",
       "      <td>https://www.nfu.edu.cn/xydt/c5ea8b486f33438291...</td>\n",
       "      <td>2019-11-19</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1497</th>\n",
       "      <td>17</td>\n",
       "      <td>扬帆把舵，奋力拼搏| 英国龙比亚大学宣讲会顺利开展</td>\n",
       "      <td>https://www.nfu.edu.cn/xydt/54a558037dfb40a2af...</td>\n",
       "      <td>2019-11-05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>397</th>\n",
       "      <td>17</td>\n",
       "      <td>扬帆把舵，奋力拼搏| 英国龙比亚大学宣讲会顺利开展</td>\n",
       "      <td>https://www.nfu.edu.cn/xydt/54a558037dfb40a2af...</td>\n",
       "      <td>2019-11-05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>398</th>\n",
       "      <td>18</td>\n",
       "      <td>“说到从化不想来，来了从化不想走” ——政商名师讲座之“我和从化的故事”精彩回顾</td>\n",
       "      <td>https://www.nfu.edu.cn/xydt/dc131b1d80874777bb...</td>\n",
       "      <td>2019-11-05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>399</th>\n",
       "      <td>19</td>\n",
       "      <td>志在千里 壮心不已 ——英国赫尔大学宣讲会成功举办</td>\n",
       "      <td>https://www.nfu.edu.cn/xydt/ef7d375ba6be47c191...</td>\n",
       "      <td>2019-11-05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1799</th>\n",
       "      <td>19</td>\n",
       "      <td>志在千里 壮心不已 ——英国赫尔大学宣讲会成功举办</td>\n",
       "      <td>https://www.nfu.edu.cn/xydt/ef7d375ba6be47c191...</td>\n",
       "      <td>2019-11-05</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>1800 rows × 4 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "      index                                                 标题  \\\n",
       "0         0  “不忘初心，牢记使命”主题教育之——商学院党总支2019年秋季“预备党员转正暨接收预备党员通...   \n",
       "720       0  “不忘初心，牢记使命”主题教育之——商学院党总支2019年秋季“预备党员转正暨接收预备党员通...   \n",
       "560       0  “不忘初心，牢记使命”主题教育之——商学院党总支2019年秋季“预备党员转正暨接收预备党员通...   \n",
       "580       0  “不忘初心，牢记使命”主题教育之——商学院党总支2019年秋季“预备党员转正暨接收预备党员通...   \n",
       "600       0  “不忘初心，牢记使命”主题教育之——商学院党总支2019年秋季“预备党员转正暨接收预备党员通...   \n",
       "...     ...                                                ...   \n",
       "1497     17                          扬帆把舵，奋力拼搏| 英国龙比亚大学宣讲会顺利开展   \n",
       "397      17                          扬帆把舵，奋力拼搏| 英国龙比亚大学宣讲会顺利开展   \n",
       "398      18           “说到从化不想来，来了从化不想走” ——政商名师讲座之“我和从化的故事”精彩回顾   \n",
       "399      19                          志在千里 壮心不已 ——英国赫尔大学宣讲会成功举办   \n",
       "1799     19                          志在千里 壮心不已 ——英国赫尔大学宣讲会成功举办   \n",
       "\n",
       "                                                     链接          日期  \n",
       "0     https://www.nfu.edu.cn/xydt/c5ea8b486f33438291...  2019-11-19  \n",
       "720   https://www.nfu.edu.cn/xydt/c5ea8b486f33438291...  2019-11-19  \n",
       "560   https://www.nfu.edu.cn/xydt/c5ea8b486f33438291...  2019-11-19  \n",
       "580   https://www.nfu.edu.cn/xydt/c5ea8b486f33438291...  2019-11-19  \n",
       "600   https://www.nfu.edu.cn/xydt/c5ea8b486f33438291...  2019-11-19  \n",
       "...                                                 ...         ...  \n",
       "1497  https://www.nfu.edu.cn/xydt/54a558037dfb40a2af...  2019-11-05  \n",
       "397   https://www.nfu.edu.cn/xydt/54a558037dfb40a2af...  2019-11-05  \n",
       "398   https://www.nfu.edu.cn/xydt/dc131b1d80874777bb...  2019-11-05  \n",
       "399   https://www.nfu.edu.cn/xydt/ef7d375ba6be47c191...  2019-11-05  \n",
       "1799  https://www.nfu.edu.cn/xydt/ef7d375ba6be47c191...  2019-11-05  \n",
       "\n",
       "[1800 rows x 4 columns]"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "ename": "PermissionError",
     "evalue": "[Errno 13] Permission denied: 'data_out/nfu_官网.xlsx'",
     "output_type": "error",
     "traceback": [
      "\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
      "\u001b[1;31mPermissionError\u001b[0m                           Traceback (most recent call last)",
      "\u001b[1;32m<ipython-input-44-eb4f7d2a4751>\u001b[0m in \u001b[0;36m<module>\u001b[1;34m\u001b[0m\n\u001b[0;32m      4\u001b[0m \u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m      5\u001b[0m \u001b[1;32mwith\u001b[0m \u001b[0mpd\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mExcelWriter\u001b[0m\u001b[1;33m(\u001b[0m\u001b[1;34m'data_out/nfu_官网.xlsx'\u001b[0m\u001b[1;33m,\u001b[0m\u001b[0mmode\u001b[0m\u001b[1;33m=\u001b[0m\u001b[1;34m'a'\u001b[0m\u001b[1;33m,\u001b[0m\u001b[0mengine\u001b[0m\u001b[1;33m=\u001b[0m\u001b[1;34m\"openpyxl\"\u001b[0m\u001b[1;33m)\u001b[0m \u001b[1;32mas\u001b[0m \u001b[0mwriter\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m----> 6\u001b[1;33m             \u001b[0mdf_all\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mto_excel\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mwriter\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0msheet_name\u001b[0m\u001b[1;33m=\u001b[0m\u001b[1;34m'校园动态'\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m",
      "\u001b[1;32mD:\\APP\\anaconda\\lib\\site-packages\\pandas\\io\\excel\\_base.py\u001b[0m in \u001b[0;36m__exit__\u001b[1;34m(self, exc_type, exc_value, traceback)\u001b[0m\n\u001b[0;32m    775\u001b[0m \u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m    776\u001b[0m     \u001b[1;32mdef\u001b[0m \u001b[0m__exit__\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mself\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mexc_type\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mexc_value\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mtraceback\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m--> 777\u001b[1;33m         \u001b[0mself\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mclose\u001b[0m\u001b[1;33m(\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m    778\u001b[0m \u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m    779\u001b[0m     \u001b[1;32mdef\u001b[0m \u001b[0mclose\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mself\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n",
      "\u001b[1;32mD:\\APP\\anaconda\\lib\\site-packages\\pandas\\io\\excel\\_base.py\u001b[0m in \u001b[0;36mclose\u001b[1;34m(self)\u001b[0m\n\u001b[0;32m    779\u001b[0m     \u001b[1;32mdef\u001b[0m \u001b[0mclose\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mself\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m    780\u001b[0m         \u001b[1;34m\"\"\"synonym for save, to make it more file-like\"\"\"\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m--> 781\u001b[1;33m         \u001b[1;32mreturn\u001b[0m \u001b[0mself\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0msave\u001b[0m\u001b[1;33m(\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m    782\u001b[0m \u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m    783\u001b[0m \u001b[1;33m\u001b[0m\u001b[0m\n",
      "\u001b[1;32mD:\\APP\\anaconda\\lib\\site-packages\\pandas\\io\\excel\\_openpyxl.py\u001b[0m in \u001b[0;36msave\u001b[1;34m(self)\u001b[0m\n\u001b[0;32m     41\u001b[0m         \u001b[0mSave\u001b[0m \u001b[0mworkbook\u001b[0m \u001b[0mto\u001b[0m \u001b[0mdisk\u001b[0m\u001b[1;33m.\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m     42\u001b[0m         \"\"\"\n\u001b[1;32m---> 43\u001b[1;33m         \u001b[1;32mreturn\u001b[0m \u001b[0mself\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mbook\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0msave\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mself\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mpath\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m     44\u001b[0m \u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m     45\u001b[0m     \u001b[1;33m@\u001b[0m\u001b[0mclassmethod\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n",
      "\u001b[1;32mD:\\APP\\anaconda\\lib\\site-packages\\openpyxl\\workbook\\workbook.py\u001b[0m in \u001b[0;36msave\u001b[1;34m(self, filename)\u001b[0m\n\u001b[0;32m    390\u001b[0m         \u001b[1;32mif\u001b[0m \u001b[0mself\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mwrite_only\u001b[0m \u001b[1;32mand\u001b[0m \u001b[1;32mnot\u001b[0m \u001b[0mself\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mworksheets\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m    391\u001b[0m             \u001b[0mself\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mcreate_sheet\u001b[0m\u001b[1;33m(\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m--> 392\u001b[1;33m         \u001b[0msave_workbook\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mself\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mfilename\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m    393\u001b[0m \u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m    394\u001b[0m \u001b[1;33m\u001b[0m\u001b[0m\n",
      "\u001b[1;32mD:\\APP\\anaconda\\lib\\site-packages\\openpyxl\\writer\\excel.py\u001b[0m in \u001b[0;36msave_workbook\u001b[1;34m(workbook, filename)\u001b[0m\n\u001b[0;32m    289\u001b[0m \u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m    290\u001b[0m     \"\"\"\n\u001b[1;32m--> 291\u001b[1;33m     \u001b[0marchive\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mZipFile\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mfilename\u001b[0m\u001b[1;33m,\u001b[0m \u001b[1;34m'w'\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mZIP_DEFLATED\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mallowZip64\u001b[0m\u001b[1;33m=\u001b[0m\u001b[1;32mTrue\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m    292\u001b[0m     \u001b[0mwriter\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mExcelWriter\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mworkbook\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0marchive\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m    293\u001b[0m     \u001b[0mwriter\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0msave\u001b[0m\u001b[1;33m(\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n",
      "\u001b[1;32mD:\\APP\\anaconda\\lib\\zipfile.py\u001b[0m in \u001b[0;36m__init__\u001b[1;34m(self, file, mode, compression, allowZip64, compresslevel, strict_timestamps)\u001b[0m\n\u001b[0;32m   1249\u001b[0m             \u001b[1;32mwhile\u001b[0m \u001b[1;32mTrue\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m   1250\u001b[0m                 \u001b[1;32mtry\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m-> 1251\u001b[1;33m                     \u001b[0mself\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mfp\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mio\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mopen\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mfile\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mfilemode\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m   1252\u001b[0m                 \u001b[1;32mexcept\u001b[0m \u001b[0mOSError\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m   1253\u001b[0m                     \u001b[1;32mif\u001b[0m \u001b[0mfilemode\u001b[0m \u001b[1;32min\u001b[0m \u001b[0mmodeDict\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n",
      "\u001b[1;31mPermissionError\u001b[0m: [Errno 13] Permission denied: 'data_out/nfu_官网.xlsx'"
     ]
    }
   ],
   "source": [
    "# 3、拼接表格，并排序       \n",
    "df_all = pd.concat(list_df).reset_index().sort_values(by='日期',ascending=False)\n",
    "display(df_all)    \n",
    "\n",
    "with pd.ExcelWriter('data_out/nfu_官网.xlsx',mode='a',engine=\"openpyxl\") as writer:  \n",
    "            df_all.to_excel(writer, sheet_name='校园动态')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.5"
  },
  "toc": {
   "base_numbering": 1,
   "nav_menu": {},
   "number_sections": true,
   "sideBar": true,
   "skip_h1_title": false,
   "title_cell": "Table of Contents",
   "title_sidebar": "Contents",
   "toc_cell": false,
   "toc_position": {
    "height": "calc(100% - 180px)",
    "left": "10px",
    "top": "150px",
    "width": "248.531px"
   },
   "toc_section_display": true,
   "toc_window_display": true
  }
 },
 "nbformat": 4,
 "nbformat_minor": 4
}
